Make the delete headers step something we do in the release makefile instead of the xcodeproj
authorDavid Smith <catfish.man@gmail.com>
Thu, 16 Apr 2009 20:08:51 -0700
changeset 1807 0b0818399524
parent 1806 0f0e25d8acd9
child 1808 73504cb62334
Make the delete headers step something we do in the release makefile instead of the xcodeproj
Adium.xcodeproj/project.pbxproj
Release/Makefile
--- a/Adium.xcodeproj/project.pbxproj	Thu Apr 16 20:03:40 2009 -0700
+++ b/Adium.xcodeproj/project.pbxproj	Thu Apr 16 20:08:51 2009 -0700
@@ -7905,7 +7905,6 @@
 				34BD9D5F053146CC000AB133 /* Copy Frameworks */,
 				4BF2E91F067CB76300743318 /* Copy Built-in Xtras */,
 				34BD9D6A053146CC000AB133 /* Copy AdiumPlugins */,
-				6C15E63106DF3BB600E5A50E /* Run Delete Headers Script */,
 				345DFF4A05564DB200CEE7B3 /* Run Generate Buildnum File Script */,
 			);
 			buildRules = (
@@ -8611,20 +8610,6 @@
 			shellPath = /bin/sh;
 			shellScript = "#############################################################################################\n# Set framework bundles to have their executables' dates, thereby letting Xcode suck less.  #\n#############################################################################################\ntouch \"$SRCROOT/Frameworks/libpurple.framework\"\ntouch \"$SRCROOT/Frameworks/Growl-WithInstaller.framework\"\ntouch \"$SRCROOT/Frameworks/LMX.framework\"\ntouch \"$SRCROOT/Frameworks/PSMTabBarControl.framework\"\ntouch \"$SRCROOT/Frameworks/Sparkle.framework\"\ntouch \"$SRCROOT/Frameworks/OTR.framework\"\n";
 		};
-		6C15E63106DF3BB600E5A50E /* Run Delete Headers Script */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 12;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "Run Delete Headers Script";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "# Delete .h files\nfind \"$BUILT_PRODUCTS_DIR/$WRAPPER_NAME\" -name '*.h' -print0 | xargs -0 rm -f\n";
-		};
 		F5B17CCE0A16C6AC004AE99E /* ShellScript */ = {
 			isa = PBXShellScriptBuildPhase;
 			buildActionMask = 12;
--- a/Release/Makefile	Thu Apr 16 20:03:40 2009 -0700
+++ b/Release/Makefile	Thu Apr 16 20:08:51 2009 -0700
@@ -146,6 +146,9 @@
 	
 	@# delete backup files
 	find $(BUILD_DIR) \( -name "*~" -or -name .DS_Store \) -type f -delete
+	
+	@# delete header files
+	find $(BUILD_DIR) \( -name "*.h \) -type f -delete
 
 	@# sign the executable
 ifeq ($(OFFICIAL_BUILD),TRUE)