diff options
author | David Baudens <baudens@mandriva.com> | 2002-02-15 23:52:44 +0000 |
---|---|---|
committer | David Baudens <baudens@mandriva.com> | 2002-02-15 23:52:44 +0000 |
commit | 7b9d7191915099ab5ed2e58440e551eb9cabf982 (patch) | |
tree | 8cda4de4a839198676b35d0541ee8a6d8f542c1f /Makefile | |
parent | 427c1358750d600b5fafdcc3da6caf8da5cf8209 (diff) | |
download | rootfiles-7b9d7191915099ab5ed2e58440e551eb9cabf982.tar rootfiles-7b9d7191915099ab5ed2e58440e551eb9cabf982.tar.gz rootfiles-7b9d7191915099ab5ed2e58440e551eb9cabf982.tar.bz2 rootfiles-7b9d7191915099ab5ed2e58440e551eb9cabf982.tar.xz rootfiles-7b9d7191915099ab5ed2e58440e551eb9cabf982.zip |
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,6 @@ NAME = rootfiles -VERSION=$(shell awk '/define version/ { print $$3 }' $(NAME).spec) +VERSION = 8.2 +RPM = $(HOME)/rpm/ DOTFILES = Xdefaults bash_logout bash_profile bashrc cshrc tcshrc vimrc all: @@ -15,7 +16,7 @@ dis: cvs commit rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* mkdir -p $(NAME)-$(VERSION) - find . -not -name "$(NAME)-$(VERSION)"|cpio -pd $(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 tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION) bzip2 -9f ../$(NAME)-$(VERSION).tar @@ -26,3 +27,7 @@ rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM) cp -f $(NAME).spec $(RPM)/SPECS/ -rpm -ba --clean --rmsource $(NAME).spec rm -f ../$(NAME)-$(VERSION).tar.bz2 + +toto: + echo $(NAME) + echo $(VERSION) |