A generalized version of revision 1.1 of gnu/libnexex/uucp/doc/Makefile.

Fixes bugs in the latter: the `all' target was never up to date; there
was no `depend' target.  Doesn't work for multiple info files because
it leverages bsd.doc.mk and that is broken.  Info should be installed
more like man pages...
This commit is contained in:
Bruce Evans 1995-01-02 12:12:00 +00:00
parent 08e9e0741b
commit 71e8daee66

16
share/mk/bsd.info.mk Normal file
View File

@ -0,0 +1,16 @@
BINDIR?= /usr/share/info
MAKEINFO?= makeinfo
MAKEINFOFLAGS?= # --no-split would simplify some things, e.g., compression
.SUFFIXES: .info .texi
.texi.info:
${MAKEINFO} ${MAKEINFOFLAGS} ${.IMPSRC} -o ${.TARGET}
all: ${INFO:S/$/.info/g}
# Hacks to interface to bsd.doc.mk.
DOC= ${INFO}
PRINTER= texi
depend:
.include <bsd.doc.mk>