From 7d4de082dce7d6931cf567d4cef24f9387f7580a Mon Sep 17 00:00:00 2001 From: Yves Duret Date: Sat, 30 Nov 2002 14:19:43 +0000 Subject: get version directly from specfile instead of manually write it in the Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1