summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-09-24 20:48:19 +0000
committerJeremy Katz <katzj@redhat.com>2004-09-24 20:48:19 +0000
commit183c8a0568849a1e5abbb3a9f5cb9f071be39889 (patch)
tree5d82a69018ee0ca65dc974dd9a65d8ca8b54d7e9 /Makefile
parent97366fa368624ab85e4ddc47999bd172d5855cef (diff)
downloadanaconda-183c8a0568849a1e5abbb3a9f5cb9f071be39889.tar.gz
anaconda-183c8a0568849a1e5abbb3a9f5cb9f071be39889.tar.xz
anaconda-183c8a0568849a1e5abbb3a9f5cb9f071be39889.zip
2004-09-24 Jeremy Katz <katzj@redhat.com>
* loader2/Makefile (VERSION): Define VERSION. * Makefile: Define VERSION and RELEASE here. * Makefile.inc (VERSION): * Makefile.inc (RELEASE): Move to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3d4181341..567f217c2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
# Copyright (C) 1998-2002 Red Hat, Inc.
include Makefile.inc
+VERSION := $(shell awk '/Version:/ { print $$2 }' anaconda.spec)
+RELEASE := $(shell awk '/Release:/ { print $$2 }' anaconda.spec)
SUBDIRS = isys loader2 po stubs \
textw utils scripts bootdisk installclasses \