NAME = rootfiles VERSION = 11.0 DOTFILES = Xdefaults bash_logout bash_profile bashrc bash_completion cshrc tcshrc vimrc DOC = ChangeLog BUILDFILES = Makefile DESTDIR = all: @echo "Use make install" install: install -m700 -d $(DESTDIR)/root for i in $(DOTFILES) ; do cp -ar $$i $(DESTDIR)/root/.$$i ; done install -d -m700 $(DESTDIR)/root/tmp dis: clean changelog rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* mkdir -p $(NAME)-$(VERSION) cp $(DOC) $(DOTFILES) $(BUILDFILES) $(NAME)-$(VERSION)/ tar cfa $(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION) rm -rf $(NAME)-$(VERSION) clean: rm -f *~ changelog: svn2cl -o ChangeLog || : rm -f ChangeLog.bak