blob: 4e16f313eeb05a60d82371eefbb3257c20631cf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
NAME = rootfiles
VERSION = 11.0
DOTFILES = Xdefaults bash_logout bash_profile bashrc bash_completion cshrc tcshrc vimrc
DOC = ChangeLog
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
install -d $(DESTDIR)/root/.netscape/{cache,archive}
dis: clean changelog
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
mkdir -p $(NAME)-$(VERSION)
cp $(DOC) $(DOTFILES) $(NAME)-$(VERSION)/
tar cf $(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
bzip2 -9f $(NAME)-$(VERSION).tar
rm -rf $(NAME)-$(VERSION)
clean:
rm -f *~
changelog:
svn2cl -o ChangeLog || :
rm -f ChangeLog.bak
|