r6733 - branches/cross-lfs/BOOK

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sat Aug 20 19:11:26 PDT 2005


Author: jim
Date: 2005-08-20 20:11:25 -0600 (Sat, 20 Aug 2005)
New Revision: 6733

Modified:
   branches/cross-lfs/BOOK/
   branches/cross-lfs/BOOK/Makefile
Log:
 r7224 at server:  jim | 2005-08-20 19:09:11 -0700
 Added download list to Makefile



Property changes on: branches/cross-lfs/BOOK
___________________________________________________________________
Name: svk:merge
   - 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:7211
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516
   + 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:7224
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516

Modified: branches/cross-lfs/BOOK/Makefile
===================================================================
--- branches/cross-lfs/BOOK/Makefile	2005-08-20 18:38:35 UTC (rev 6732)
+++ branches/cross-lfs/BOOK/Makefile	2005-08-21 02:11:25 UTC (rev 6733)
@@ -1,5 +1,6 @@
 BASEDIR=~/cross-lfs-book
 DUMPDIR=~/cross-lfs-commands
+DLLISTDIR=~/cross-lfs-dllist
 CHUNK_QUIET=1
 JAVA_HOME=/opt/jdk/jdk-precompiled-1.5.0
 XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
@@ -60,6 +61,13 @@
 	   $(PWD)/stylesheets/dump-commands.xsl $$arch-index.xml
 endef
 
+# Get commands
+define DLLIST
+	echo "Creating download list for $$arch..." ; \
+	xsltproc --xinclude --nonet --output $(DLLISTDIR)/$$arch.dl.list \
+	   $(PWD)/stylesheets/wget.xsl $$arch-index.xml
+endef
+
 lfs: toplevel render common
 
 toplevel:
@@ -107,4 +115,9 @@
 	$(DUMP) ; \
 	done
 
-.PHONY: lfs toplevel common render nochunk nochunk_render pdf text validate dump-commands
+download-list:
+	@for arch in $(ARCH) ; do \
+	$(DLLIST) ; \
+	done
+
+.PHONY: lfs toplevel common render nochunk nochunk_render pdf text validate dump-commands download-list




More information about the lfs-book mailing list