r873 - trunk/scripts

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Sat Nov 13 14:28:53 PST 2004


Author: lizardo
Date: 2004-11-13 15:28:51 -0700 (Sat, 13 Nov 2004)
New Revision: 873

Modified:
   trunk/scripts/update-website.mk
Log:
update-website.mk: a bug fix and some comment cleanups


Modified: trunk/scripts/update-website.mk
===================================================================
--- trunk/scripts/update-website.mk	2004-11-13 06:32:53 UTC (rev 872)
+++ trunk/scripts/update-website.mk	2004-11-13 22:28:51 UTC (rev 873)
@@ -2,6 +2,7 @@
 
 # Usage: first run
 #
+#	umask 002 &&
 #	./update-website.mk TARGETDIR="<target_dir>" svn-checkout
 #
 # to create an initial repository on TARGETDIR, if it does not exist yet. To
@@ -10,8 +11,7 @@
 #
 #	cd "<target_dir>" &&
 #	umask 002 &&
-#	./scripts/update-website.mk svn-update &&
-#	./scripts/update-website.mk update-website
+#	./scripts/update-website.mk svn-update update-website
 #
 
 SVN = svn://svn.linuxfromscratch.org
@@ -54,7 +54,7 @@
 svn-checkout:
 # The setgid bit on dirs forces all files under it to have the same group of
 # TARGETDIR
-	mkdir -m 2755 -p $(TARGETDIR)
+	mkdir -m 2775 -p $(TARGETDIR)
 	chgrp lfswww $(TARGETDIR)
 	svn -q checkout $(SVN)/www/trunk $(TARGETDIR)
 	mkdir -p $(TARGETDIR)/patches/downloads
@@ -191,19 +191,16 @@
 	cd hints && $(SCRIPTS)/genlist.sh
 
 # Validate XHTML files
-# FIXME better on a pre-commit script?
+# FIXME: better on a pre-commit script?
 validate:
 	find -name \*.html -maxdepth 3 | fgrep -v -f scripts/rsync-ignore | while read file; do \
 	xmllint --valid --noout $$file || exit 1; done
 
 # Copy these to the httpd error dirs
+# FIXME: need to make /home/httpd/error group-writable by lfswww
 error-pages: 403.html 404.html
 #	cp {403,404}.html /home/httpd/error
 
-# Set proper permissions
-#set-perms:
-#	chmod -Rf g+w .
-
 run-rsync:
 	for m in $(MIRRORS); do \
 	rsync -aq --exclude-from=scripts/rsync-ignore $(TARGETDIR)/ $$m::lfs; \




More information about the website mailing list