propset - enables svn keywords
[build.git] / onelab.mk
index 2971490..280aa6f 100644 (file)
--- a/onelab.mk
+++ b/onelab.mk
@@ -4,7 +4,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2003-2006 The Trustees of Princeton University
 #
-# $Id: onelab.mk,v 1.22 2007/04/16 13:59:29 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,16 +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/myplc-release: 
+SOURCES/myplc-release:
        @echo 'Creating myplc-release'
-       mkdir -p $(dirname $@)
-       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) >> $@
 
 #