r584 - in x86/trunk: . scripts

justin at linuxfromscratch.org justin at linuxfromscratch.org
Tue Aug 23 21:55:08 PDT 2005


Author: justin
Date: 2005-08-23 22:55:07 -0600 (Tue, 23 Aug 2005)
New Revision: 584

Modified:
   x86/trunk/Makefile
   x86/trunk/scripts/functions
Log:
Merged r583 from Alexander Patrakov for a makefile target to build a wget script.

Modified: x86/trunk/Makefile
===================================================================
--- x86/trunk/Makefile	2005-08-24 03:13:16 UTC (rev 583)
+++ x86/trunk/Makefile	2005-08-24 04:55:07 UTC (rev 584)
@@ -212,6 +212,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/trunk/scripts/functions
===================================================================
--- x86/trunk/scripts/functions	2005-08-24 03:13:16 UTC (rev 583)
+++ x86/trunk/scripts/functions	2005-08-24 04:55:07 UTC (rev 584)
@@ -44,3 +44,17 @@
 
 %.gz %.tgz %.bz2 %.zip %.patch %.rules:
 	$(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




More information about the livecd mailing list