1 # for `make release' and `make html'
7 SCRIPTDIR
= $(PREFIX
)/bin
8 MANDIR
= $(PREFIX
)/man
/man1
10 IPROG
=# flags for installing programs (default none)
11 IDATA
= -m
0644 # flags for installing data
21 rm -f
*.1 *.html
*.
tar.gz
24 halibut
--html
=$(DESTDIR
)/nntpid.html nntpid.but
27 mkdir
-p reltmp
/nntpid
28 ln
-s ..
/..
/nntpid reltmp
/nntpid
29 ln
-s ..
/..
/nntpid
.1 reltmp
/nntpid
30 ln
-s ..
/..
/nntpid.but reltmp
/nntpid
31 ln
-s ..
/..
/Makefile reltmp
/nntpid
32 tar -C reltmp
-chzf
$(DESTDIR
)/nntpid.
tar.gz nntpid
35 install: install-progs install-man
38 $(INSTALL
) $(IPROG
) nntpid
$(SCRIPTDIR
)/nntpid
41 $(INSTALL
) $(IDATA
) nntpid
.1 $(MANDIR
)/nntpid
.1