r7089 - trunk/BOOK

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Aug 20 10:50:21 PDT 2007


Author: manuel
Date: 2007-08-20 11:50:20 -0600 (Mon, 20 Aug 2007)
New Revision: 7089

Modified:
   trunk/BOOK/Makefile
Log:
Rendering the wget-list file at the same time that HTML files to can have it available on-line, as requested by Justin Robert Knierim.

Modified: trunk/BOOK/Makefile
===================================================================
--- trunk/BOOK/Makefile	2007-08-20 04:12:24 UTC (rev 7088)
+++ trunk/BOOK/Makefile	2007-08-20 17:50:20 UTC (rev 7089)
@@ -45,6 +45,8 @@
 	  sed -i -e "s at text/html at application/xhtml+xml at g" $$filename; \
 	done;
 
+	$(Q)$(MAKE) wget-list
+
 pdf: validxml
 	@echo "Generating profiled XML for PDF..."
 	$(Q)xsltproc --nonet --stringparam profile.condition pdf \
@@ -100,8 +102,9 @@
 	$(Q)sed -e "s|^.*/||" $(RENDERTMP)/blfs-patch-list > $(RENDERTMP)/blfs-patches
 	$(Q)sort $(RENDERTMP)/blfs-patches > blfs-patch-list
 
-wget-list: validxml
+wget-list:
 	@echo "Generating wget list..."
+	$(Q)[ -f $(RENDERTMP)/blfs-full.xml ] || $(MAKE) validxml
 	$(Q)mkdir -p $(BASEDIR)
 	$(Q)xsltproc --nonet --output $(BASEDIR)/wget-list \
 	  stylesheets/wget-list.xsl $(RENDERTMP)/blfs-full.xml
@@ -141,7 +144,7 @@
 
 all: blfs nochunks pdf
 
-world: all blfs-patch-list dump-commands wget-list test-links
+world: all blfs-patch-list dump-commands test-links
 
 .PHONY : all blfs blfs-patch-list dump-commands nochunks pdf profile-html \
 	 test-links tmpdir validate validxml wget-list world




More information about the blfs-book mailing list