r837 - trunk/scripts

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Sat Sep 4 12:44:40 PDT 2004


Author: lizardo
Date: 2004-09-04 13:44:39 -0600 (Sat, 04 Sep 2004)
New Revision: 837

Modified:
   trunk/scripts/update-website.mk
Log:
Minor fixes to update-website.mk.


Modified: trunk/scripts/update-website.mk
===================================================================
--- trunk/scripts/update-website.mk	2004-09-01 22:40:19 UTC (rev 836)
+++ trunk/scripts/update-website.mk	2004-09-04 19:44:39 UTC (rev 837)
@@ -6,11 +6,13 @@
 
 SVN = svn://svn.linuxfromscratch.org
 REV = HEAD
-TARGETDIR = /home/httpd/test.linuxfromscratch.org/rsync-test
+
+# TARGETDIR must be configured by editing the "targetdir" property of the
+# svn://svn.linuxfromscratch.org/www repository
 #TARGETDIR = /home/httpd/www.linuxfromscratch.org
 
 # Mirrors to which the website will be pushed through rsync
-MIRRORS = jenacon.net
+#MIRRORS = jenacon.net
 
 SCRIPTS = $(TARGETDIR)/scripts
 # "LC_ALL=C" garantees a sane localization setting
@@ -35,6 +37,9 @@
 
 update-website: backup svn-update news-archive svnlog website.html news-html news-rss \
 	mirrors-list update-patches update-hints error-pages set-perms run-rsync
+# Add the timestamp for mirrors
+	mkdir -p timestamp
+	date +%s > timestamp/timestamp
 
 news-archive: $(foreach y,$(YEARS),$(foreach i,$(PROJECTS),news/$(i)/$(y)))
 
@@ -177,11 +182,6 @@
 	for file in $$(find -name \*.html -maxdepth 3 -print); do \
 	if xmllint --valid --noout $$file then exit 1; fi; done
 
-# Add the timestamp for mirrors
-timestamp/timestamp:
-	mkdir -p timestamp
-	date +%s > timestamp/timestamp
-
 # Copy these to the httpd error dirs
 error-pages: 403.html 404.html
 #	cp {403,404}.html /home/httpd/error




More information about the website mailing list