logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

unattended/bootdisk Makefile,1.27,1.28: msg#00104

Subject: unattended/bootdisk Makefile,1.27,1.28
Update of /cvsroot/unattended/unattended/bootdisk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2790

Modified Files:
        Makefile 
Log Message:
Create version.bat file to set VERSION environment variable.


Index: Makefile
===================================================================
RCS file: /cvsroot/unattended/unattended/bootdisk/Makefile,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- Makefile    14 May 2004 21:51:30 -0000      1.27
+++ Makefile    21 Oct 2004 18:31:43 -0000      1.28
@@ -32,8 +32,16 @@
        @[ -e $@ ] || touch $@
        @find template -newer $@ -print | sed s/.\*/$@/ | xargs -r touch
 
+# Special rule for updating version.bat.
+template/version.bat: FORCE
+       version=`../linuxboot/tools/version.pl` &&      \
+       echo -e "SET VERSION=$$version\r" > $@.tmp
+       cmp -s $@.tmp $@ || mv $@.tmp $@
+       rm -f $@.tmp
+
 # Images targets
-images/%.imz: .stamp-template empty-boot.img.gz drivers/%.dos
+images/%.imz: .stamp-template template/version.bat empty-boot.img.gz \
+               drivers/%.dos
        @echo -n "Making $@..."
        @destdir=`dirname "$@"` &&                                      \
        driver=`basename "$@" .imz` &&                                  \



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>