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:
parent
08e9e0741b
commit
71e8daee66
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5345
16
share/mk/bsd.info.mk
Normal file
16
share/mk/bsd.info.mk
Normal 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>
|
Loading…
Reference in New Issue
Block a user