Author: alexander
Date: 2005-08-23 21:13:16 -0600 (Tue, 23 Aug 2005)
New Revision: 583

Modified:
   x86/branches/utf8-newmake/Makefile
   x86/branches/utf8-newmake/scripts/functions
Log:
Added a rule to make a list of URLs to download.


Modified: x86/branches/utf8-newmake/Makefile
===================================================================
--- x86/branches/utf8-newmake/Makefile  2005-08-23 04:00:46 UTC (rev 582)
+++ x86/branches/utf8-newmake/Makefile  2005-08-24 03:13:16 UTC (rev 583)
@@ -217,6 +217,13 @@
        ch-linux ch-klibc ch-unionfs ch-initramfs ch-cdrtools \
        ch-blfs-bootscripts ch-syslinux ch-nALFS-profile
 
+wget-list:
+       @>wget-list ; \
+        for DIR in packages/* ; do \
+           make -C $${DIR} wget-list-entry || echo Never mind. ; \
+        done ; \
+        sed -i '/^$$/d' wget-list
+
 # Targets for building packages individually. Useful for troubleshooting.
 # These do not generally get used as part of the script. They're for manual
 # use only ie, 'make [target]'

Modified: x86/branches/utf8-newmake/scripts/functions
===================================================================
--- x86/branches/utf8-newmake/scripts/functions 2005-08-23 04:00:46 UTC (rev 
582)
+++ x86/branches/utf8-newmake/scripts/functions 2005-08-24 03:13:16 UTC (rev 
583)
@@ -44,3 +44,17 @@
 
 %.gz %.tgz %.bz2 %.zip %.patch %.rules %.ttf:
        $(call download,$@,$(URL-$@),$(SHA-$@))
+
+wget-list-entry:
+       @echo $(URL-$(FILE)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(FILE1)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(FILE2)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(FILE3)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(FILE4)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(FILE5)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(PATCH)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(PATCH1)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(PATCH2)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(PATCH3)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(PATCH4)) >>$(MKTREE)/wget-list
+       @echo $(URL-$(PATCH5)) >>$(MKTREE)/wget-list

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to