diff options
-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) |