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
=nntpid.html nntpid.but
25 mv nntpid.html
$(DESTDIR
)
28 mkdir
-p reltmp
/nntpid
29 ln
-s ..
/..
/nntpid reltmp
/nntpid
30 ln
-s ..
/..
/nntpid
.1 reltmp
/nntpid
31 ln
-s ..
/..
/nntpid.but reltmp
/nntpid
32 ln
-s ..
/..
/Makefile reltmp
/nntpid
33 tar -C reltmp
-chzf
$(DESTDIR
)/nntpid.
tar.gz nntpid
36 install: install-progs install-man
39 $(INSTALL
) $(IPROG
) nntpid
$(SCRIPTDIR
)/nntpid
42 $(INSTALL
) $(IDATA
) nntpid
.1 $(MANDIR
)/nntpid
.1