summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2002-11-30 14:19:43 +0000
committerYves Duret <yduret@mandriva.com>2002-11-30 14:19:43 +0000
commit7d4de082dce7d6931cf567d4cef24f9387f7580a (patch)
treeea352500822391d83788501fdab0f98c372886b4 /Makefile
parent7b43badab93ba19435b8dd8a339565880c482383 (diff)
downloadrootfiles-7d4de082dce7d6931cf567d4cef24f9387f7580a.tar
rootfiles-7d4de082dce7d6931cf567d4cef24f9387f7580a.tar.gz
rootfiles-7d4de082dce7d6931cf567d4cef24f9387f7580a.tar.bz2
rootfiles-7d4de082dce7d6931cf567d4cef24f9387f7580a.tar.xz
rootfiles-7d4de082dce7d6931cf567d4cef24f9387f7580a.zip
get version directly from specfile instead of manually write it in the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1ad2b14..57151c9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
NAME = rootfiles
-VERSION = 8.2
+VERSION = $(shell awk '/Version:[ ]*(.*)/ { print $$2 }' $(NAME).spec)
RPM = $(HOME)/rpm/
DOTFILES = Xdefaults bash_logout bash_profile bashrc cshrc tcshrc vimrc