diff options
author | Yves Duret <yduret@mandriva.com> | 2002-12-02 09:49:41 +0000 |
---|---|---|
committer | Yves Duret <yduret@mandriva.com> | 2002-12-02 09:49:41 +0000 |
commit | c12122ad04c30c7be3d8dbd726662d08e0c4d39e (patch) | |
tree | 5fce21e64d1f1b8e1add853f1ffa379f5c25a109 /Makefile | |
parent | a59e90f2e27bff8592c68077227bad8cb9569bff (diff) | |
download | rootfiles-c12122ad04c30c7be3d8dbd726662d08e0c4d39e.tar rootfiles-c12122ad04c30c7be3d8dbd726662d08e0c4d39e.tar.gz rootfiles-c12122ad04c30c7be3d8dbd726662d08e0c4d39e.tar.bz2 rootfiles-c12122ad04c30c7be3d8dbd726662d08e0c4d39e.tar.xz rootfiles-c12122ad04c30c7be3d8dbd726662d08e0c4d39e.zip |
- better version detection using rpm -q instead of olf awk stuff.
- added changelog rule using common tools.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,5 @@ NAME = rootfiles -VERSION = $(shell awk '/Version:[ ]*(.*)/ { print $$2 }' $(NAME).spec) +VERSION = $(shell rpm -q --qf %{VERSION}-%{RELEASE} --specfile $(NAME).spec) RPM = $(HOME)/rpm/ DOTFILES = Xdefaults bash_logout bash_profile bashrc cshrc tcshrc vimrc @@ -31,6 +31,11 @@ rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM) clean: rm -f *~ +changelog: ../common/username + cvs2cl -U ../common/username -I ChangeLog + rm -f ChangeLog.bak + cvs commit -m "Generated by cvs2cl the `date '+%d_%b'`" ChangeLog + toto: @echo $(NAME) @echo $(VERSION) |