From 3b14e52ae3d7a1a23207692385ef687e0ef7f3de Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Mon, 20 Aug 2007 17:50:20 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7089 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8ba8d60ee9..1cb871d54b 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,8 @@ blfs: validxml profile-html sed -i -e "s@text/html@application/xhtml+xml@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 @@ blfs-patch-list: validxml $(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 @@ validate: 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