summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>2000-03-23 10:01:52 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>2000-03-23 10:01:52 +0000
commit824602ced54529671c3725980fef540aa1a2e584 (patch)
tree501730c68edbc4bc3d30f26ac37a3e4cef49e99d /Makefile
parent6b034d0e7375cdf86eb948fbfb29985b45df785c (diff)
downloadrootfiles-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--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 26e9d76..c734593 100644
--- a/Makefile
+++ b/Makefile
@@ -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)