r824 - trunk/scripts

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Sun Aug 8 20:35:49 PDT 2004


Author: lizardo
Date: 2004-08-08 21:35:48 -0600 (Sun, 08 Aug 2004)
New Revision: 824

Modified:
   trunk/scripts/update-website.mk
Log:
Fixed update-website.mk (again)


Modified: trunk/scripts/update-website.mk
===================================================================
--- trunk/scripts/update-website.mk	2004-08-09 03:22:58 UTC (rev 823)
+++ trunk/scripts/update-website.mk	2004-08-09 03:35:48 UTC (rev 824)
@@ -78,12 +78,11 @@
 
 svnlog:
 	mkdir -p logs
-define gen_logs
-	$(SVNLOG) $(SVN)/$(1) 2>/dev/null | $(SVN2HTML) --with-branchname > logs/$(1).html.tmp
-	cmp -s logs/$(1).html.tmp logs/$(1).html || cp logs/$(1).html.tmp logs/$(1).html
-	rm logs/$(1).html.tmp
-endef
-	$(foreach r,www patches LFS BLFS hints,$(eval $(call gen_logs,$(r))))
+	for repos in www patches LFS BLFS hints; do \
+	$(SVNLOG) $(SVN)/$$repos 2>/dev/null | $(SVN2HTML) --with-branchname > logs/$$repos.html.tmp; \
+	cmp -s logs/$$repos.html.tmp logs/$$repos.html || cp logs/$$repos.html.tmp logs/$$repos.html; \
+	rm logs/$$repos.html.tmp; \
+	done
 
 logs/%.html:
 	touch $@




More information about the website mailing list