r6773 - trunk/BOOK

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Aug 29 11:52:44 PDT 2005


Author: manuel
Date: 2005-08-29 12:52:43 -0600 (Mon, 29 Aug 2005)
New Revision: 6773

Modified:
   trunk/BOOK/Makefile
Log:
Unified for loops in Makefile.

Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile	2005-08-29 18:52:26 UTC (rev 6772)
+++ trunk/BOOK/Makefile	2005-08-29 18:52:43 UTC (rev 6773)
@@ -27,13 +27,7 @@
 	for filename in `find $(BASEDIR) -name "*.html"`; do \
 	  tidy -config tidy.conf $$filename; \
 	  true; \
-	done;
-
-	for filename in `find $(BASEDIR) -name "*.html"`; do \
 	  sh obfuscate.sh $$filename; \
-	done;
-
-	for filename in `find $(BASEDIR) -name "*.html"`; do \
 	  sed -i -e "s at text/html at application/xhtml+xml at g" $$filename; \
 	done;
 
@@ -60,10 +54,10 @@
 	--output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
 	  stylesheets/lfs-nochunks.xsl index.xml
 
-	sh obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
-
 	tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
 
+	sh obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
+
 	sed -i -e "s at text/html at application/xhtml+xml at g"  \
 	  $(BASEDIR)/$(NOCHUNKS_OUTPUT)
 




More information about the lfs-book mailing list