[or-cvs] r15164: Put all split files for a given language into their own fold (torbrowser/trunk/build-scripts)

sjm217 at seul.org sjm217 at seul.org
Thu Jun 12 16:31:42 UTC 2008


Author: sjm217
Date: 2008-06-12 12:31:41 -0400 (Thu, 12 Jun 2008)
New Revision: 15164

Modified:
   torbrowser/trunk/build-scripts/Makefile
Log:
Put all split files for a given language into their own folder

Modified: torbrowser/trunk/build-scripts/Makefile
===================================================================
--- torbrowser/trunk/build-scripts/Makefile	2008-06-12 15:37:21 UTC (rev 15163)
+++ torbrowser/trunk/build-scripts/Makefile	2008-06-12 16:31:41 UTC (rev 15164)
@@ -117,8 +117,10 @@
 reallyclean: clean
 	rm -fr $(IM_COMPRESSED_NAME)_*.exe
 	rm -fr $(IM_COMPRESSED_NAME)_*.rar	
+	rm -fr $(IM_COMPRESSED_NAME)_*_split
 	rm -fr $(DEFAULT_COMPRESSED_NAME)_*.exe
-	rm -fr $(DEFAULT_COMPRESSED_NAME)_*.rar	
+	rm -fr $(DEFAULT_COMPRESSED_NAME)_*.rar
+	rm -fr $(DEFAULT_COMPRESSED_NAME)_*_split
 
 ##
 ## Generate a non-localized bundle and put in $(DEST)
@@ -252,8 +254,9 @@
 	cd $(NAME)_$(LANGCODE); $(SEVENZIP) a -sfx7z.sfx ../$(COMPRESSED_NAME)_$(LANGCODE).exe $(NAME)
 
 split-bundle-localized: bundle-localized_$(LANGCODE).stamp
-	rm -f $(COMPRESSED_NAME)_$(LANGCODE)_split.part* $(COMPRESSED_NAME)_$(LANGCODE)_split.exe
-	cd $(NAME)_$(LANGCODE); $(WINRAR) a -r -s -ibck -sfx -v$(SPLITSIZE) ../$(COMPRESSED_NAME)_$(LANGCODE)_split.exe $(NAME)
+	rm -fr $(COMPRESSED_NAME)_$(LANGCODE)_split; mkdir $(COMPRESSED_NAME)_$(LANGCODE)_split
+	cd $(NAME)_$(LANGCODE); $(WINRAR) a -r -s -ibck -sfx -v$(SPLITSIZE) \
+            ../$(COMPRESSED_NAME)_$(LANGCODE)_split/$(COMPRESSED_NAME)_$(LANGCODE)_split.exe $(NAME)
 
 copy-files_%: generic-bundle.stamp
 	rm -fr $(NAME)_$*



More information about the tor-commits mailing list