[Lunar-commits] CVS: lunar-iso Makefile,1.2,1.3
Auke Kok
sofar at lunar-linux.org
Tue Nov 23 13:08:12 UTC 2004
Update of /var/cvs/lunar/lunar-iso
In directory espresso.foo-projects.org:/tmp/cvs-serv699
Modified Files:
Makefile
Log Message:
Adding moonbase target to fetch && install a proper moonbase copy. Changed date to include current date, and modified some other make VARs
Index: Makefile
===================================================================
RCS file: /var/cvs/lunar/lunar-iso/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile 22 Nov 2004 20:55:09 -0000 1.2
+++ Makefile 23 Nov 2004 13:08:09 -0000 1.3
@@ -5,7 +5,7 @@
# define the absolute place where these tools reside
# need to make this defined during run-time
-ISO_SOURCE = /var/build/isotools
+ISO_SOURCE = $(shell pwd)
# define the location where the ISO will be generated
ISO_TARGET = ./BUILD
@@ -13,7 +13,7 @@
# define the version numbers and tags etc:
ISO_VERSION = NOVERSION
ISO_CODENAME = UNNAMED
-ISO_DATE = NODATE
+ISO_DATE = $(shell date -u +%Y%m%d)
ISO_CNAME = $(ISO_VERSION) ($(ISO_CODENAME) - $(ISO_DATE))
ISO_KVER = 2.4.27
@@ -62,11 +62,17 @@
@echo "Starting rebuild process"
@scripts/rebuild
-etc: unpack $(ISO_TARGET)/.etcf
+etc: moonbase unpack $(ISO_TARGET)/.etcf
$(ISO_TARGET)/.etcf:
@echo "Copying miscfiles"
@scripts/etc
+moonbase: $(ISO_SOURCE)/template/moonbase.tar.bz2
+$(ISO_SOURCE)/template/moonbase.tar.bz2:
+ @echo "Getting a proper moonbase"
+ @scripts/moonbase
+
+
unpack: dirs $(ISO_TARGET)/.unpack
$(ISO_TARGET)/.unpack:
@echo "Unpacking binaries and copying sources"
More information about the Lunar-commits
mailing list