-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 773 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (23 loc) · 773 Bytes
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
## $Id: Makefile,v 1.12 2015/04/19 17:54:42 yozo Exp $
FILES= rotlogs clean cmp-and-remove do-cvs \
make-fakedist make-kernel make-userland make-xf4 make-xenocara \
checksites marks picks pu smime vaio xtermtitle \
getpgpkey viewtext viewurl acpibat spamcheck ypkg smartless \
show_date show_subject show_from yscan
INSTALLDIR=${HOME}/bin
INSTALL=/usr/bin/install
DISTDIR=/tmp
default:
@echo "files: $(FILES)"
diff:
@for i in $(FILES) ; do \
(diff -u $(INSTALLDIR)/$$i ./$$i | jless ) \
done
install:
@for i in $(FILES) ; do \
echo "installing $$i into $(INSTALLDIR)..." ; \
$(INSTALL) -pb -m 550 $$i $(INSTALLDIR) ; \
done
dist:
echo "creating a distribution tarball..."
tar czvf $(DISTDIR)/utils.tar.gz $(FILES) Makefile