r232 - scripts/trunk

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Sun Jun 12 20:54:26 PDT 2005


Author: lizardo
Date: 2005-06-12 21:54:26 -0600 (Sun, 12 Jun 2005)
New Revision: 232

Modified:
   scripts/trunk/update-website.mk
Log:
[www2] Fixed update-website.mk.


Modified: scripts/trunk/update-website.mk
===================================================================
--- scripts/trunk/update-website.mk	2005-06-13 03:47:53 UTC (rev 231)
+++ scripts/trunk/update-website.mk	2005-06-13 03:54:26 UTC (rev 232)
@@ -76,12 +76,14 @@
 LFS_WWW = /home/httpd/www.linuxfromscratch.org
 
 update-alfs: svnlog2-ALFS
+	test -n "$(TARGETDIR)"
 	for i in view downloads; do \
 	mkdir -p $(TARGETDIR)/alfs/$$i/; \
 	rsync -av --delete $(LFS_WWW)/alfs/$$i/ $(TARGETDIR)/alfs/$$i/; \
 	done
 
 update-blfs: svnlog-BLFS
+	test -n "$(TARGETDIR)"
 	for i in view downloads; do \
 	mkdir -p $(TARGETDIR)/blfs/$$i/; \
 	rsync -av --delete $(LFS_WWW)/blfs/$$i/ $(TARGETDIR)/blfs/$$i/; \
@@ -90,12 +92,14 @@
 update-hints: svnlog-hints fetch-hints hints-tarball hints-symlinks hints-list
 
 update-hlfs: svnlog-HLFS
+	test -n "$(TARGETDIR)"
 	for i in view downloads; do \
 	mkdir -p $(TARGETDIR)/hlfs/$$i/; \
 	rsync -av --delete $(LFS_WWW)/hlfs/$$i/ $(TARGETDIR)/hlfs/$$i/; \
 	done
 
 update-lfs: svnlog-LFS
+	test -n "$(TARGETDIR)"
 	for i in view downloads; do \
 	mkdir -p $(TARGETDIR)/lfs/$$i/; \
 	rsync -av --delete $(LFS_WWW)/lfs/$$i/ $(TARGETDIR)/lfs/$$i/; \




More information about the website mailing list