diff options
author | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-03-23 10:01:52 +0000 |
---|---|---|
committer | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-03-23 10:01:52 +0000 |
commit | 824602ced54529671c3725980fef540aa1a2e584 (patch) | |
tree | 501730c68edbc4bc3d30f26ac37a3e4cef49e99d /Makefile | |
parent | 6b034d0e7375cdf86eb948fbfb29985b45df785c (diff) | |
download | rootfiles-824602ced54529671c3725980fef540aa1a2e584.tar rootfiles-824602ced54529671c3725980fef540aa1a2e584.tar.gz rootfiles-824602ced54529671c3725980fef540aa1a2e584.tar.bz2 rootfiles-824602ced54529671c3725980fef540aa1a2e584.tar.xz rootfiles-824602ced54529671c3725980fef540aa1a2e584.zip |
"Seethechangelog"
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ NAME = rootfiles -VERSION = 7.0 -DOTFILES = Xdefaults bash_logout bash_profile bashrc cshrc kderc tcshrc vimrc zshrc kde netscape +VERSION=$(shell awk '/define version/ { print $$3 }' $(NAME).spec) +DOTFILES = Xdefaults bash_logout bash_profile bashrc cshrc kderc tcshrc vimrc kde netscape FILES = Desktop all: @@ -13,11 +13,11 @@ install: install -d -m700 $(RPM_BUILD_ROOT)/root/tmp dis: + cvs commit rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* mkdir -p $(NAME)-$(VERSION) find . -not -name "$(NAME)-$(VERSION)"|cpio -pd $(NAME)-$(VERSION)/ find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused |xargs rm -rf - perl -p -i -e 's|^%define version.*|%define version $(VERSION)|' $(NAME).spec tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION) bzip2 -9f ../$(NAME)-$(VERSION).tar rm -rf $(NAME)-$(VERSION) |