X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=onelab.mk;h=280aa6f26b0d00cf3076fe7cfe9fbb8c6fdbe837;hb=7f68d7beda1cdbf985b64c16cb9474e271eb6b2b;hp=aad5698c256147e7bbc62c44c81baa71abe90160;hpb=4d8fd9ad10acc50713e6fd7c6dae1aee9181b90d;p=build.git diff --git a/onelab.mk b/onelab.mk index aad5698c..280aa6f2 100644 --- a/onelab.mk +++ b/onelab.mk @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2003-2006 The Trustees of Princeton University # -# $Id: onelab.mk,v 1.23 2007/04/16 15:08:08 thierry Exp $ +# $Id$ # # @@ -96,7 +96,7 @@ vnet: kernel # madwifi-ng-MODULE := madwifi-ng -madwifi-ng-SPEC := madwifi-ng/madwifi.spec +madwifi-ng-SPEC := madwifi.spec ALL += madwifi-ng # Build kernel first so we can bootstrap off of its build @@ -373,18 +373,18 @@ myplc: $(filter-out myplc,$(ALL)) myplc: RPMS/yumgroups.xml # we also ship various information on the build in /etc/myplc-release -myplc: SOURCES/myplc/myplc/myplc-release +# we cannot store this under SOURCES/myplc +# otherwise the code extraction phase does not take place +# because it depends on $SOURCES/$(package) as per Rules.mk +myplc: SOURCES/myplc-release -SOURCES/myplc/myplc: - mkdir -p $@ - -SOURCES/myplc/myplc/myplc-release: SOURCES/myplc/myplc +SOURCES/myplc-release: @echo 'Creating myplc-release' - rm $@ - touch $@ + rm -f $@ (echo -n 'Build date: ' ; date '+%Y.%m.%d') >> $@ (echo -n 'Build hostname: ' ; hostname) >> $@ (echo -n 'Build location: ' ; pwd) >> $@ + echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx tags file contents" >> $@ cat $(TAGSFILE) >> $@ #