Make the tarball's VERSION part overridable from make invocation.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 24 Jan 2007 22:56:36 +0000 (22:56 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 24 Jan 2007 22:56:36 +0000 (22:56 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2356 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile

index 77c5237..0f60811 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,8 @@ dvi: qemu-doc.dvi qemu-tech.dvi
 
 html: qemu-doc.html qemu-tech.html
 
-FILE=qemu-$(shell cat VERSION)
+VERSION ?= $(shell cat VERSION)
+FILE = qemu-$(VERSION)
 
 # tar release (use 'make -k tar' on a checkouted tree)
 tar: