r4202 - trunk/BOOK

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Sep 23 13:29:11 PDT 2004


Author: manuel
Date: 2004-09-23 14:29:09 -0600 (Thu, 23 Sep 2004)
New Revision: 4202

Modified:
   trunk/BOOK/Makefile
Log:
Testing the patched tidy.

Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile	2004-09-23 19:23:40 UTC (rev 4201)
+++ trunk/BOOK/Makefile	2004-09-23 20:29:09 UTC (rev 4202)
@@ -3,6 +3,7 @@
 PDF_OUTPUT=LFS-BOOK.pdf
 NOCHUNKS_OUTPUT=LFS-BOOK.html
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
+TIDY=/home/manuel/bin/lfs-tidy
 
 lfs:
 	xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
@@ -24,7 +25,10 @@
 	cd $(BASEDIR)/; sed -i -e "s at ../images at images@g" \
 	  index.html part1.html part2.html part3.html longindex.html
 
-	sh goTidy $(BASEDIR)/
+	for filename in `find $(BASEDIR) -name "*.html"`; do \
+	  $TIDY -config tidy.conf $$filename; \
+	  true; \
+	done;
 
 	for filename in `find $(BASEDIR) -name "*.html"`; do \
 	  sed -i -e "s at text/html at application/xhtml+xml at g" $$filename; \




More information about the lfs-book mailing list