diff options
author | Yves Duret <yduret@mandriva.com> | 2002-11-30 14:19:43 +0000 |
---|---|---|
committer | Yves Duret <yduret@mandriva.com> | 2002-11-30 14:19:43 +0000 |
commit | 7d4de082dce7d6931cf567d4cef24f9387f7580a (patch) | |
tree | ea352500822391d83788501fdab0f98c372886b4 /Makefile | |
parent | 7b43badab93ba19435b8dd8a339565880c482383 (diff) | |
download | rootfiles-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |