xref: /netbsd-src/external/bsd/am-utils/man/Makefile (revision e272cbeff0a0d4214946b4b336a18a51f6d05dce)
1*e272cbefSwiz#	$NetBSD: Makefile,v 1.2 2015/08/06 10:22:34 wiz Exp $
2b7899253Schristos
3b7899253Schristos.include <bsd.own.mk>
4b7899253Schristos
5b7899253SchristosLIBAMUOBJDIR!=cd ${.CURDIR}/../lib/libamu && ${PRINTOBJDIR}
6b7899253Schristos
7b7899253Schristos.include "${.CURDIR}/../Makefile.inc"
8b7899253Schristos
9b7899253SchristosDIST=	${IDIST}/doc
10b7899253Schristos.PATH:	${DIST}
11b7899253Schristos
12b7899253SchristosTEXINFO=	am-utils.texi
13b7899253SchristosINFOFLAGS=	-I${DIST} -I${.CURDIR}
14b7899253Schristos
15b7899253SchristosCLEANFILES+=	version.texi
16b7899253Schristos
17b7899253Schristosam-utils.info: version.texi
18b7899253Schristos
19b7899253Schristosversion.texi:
20*e272cbefSwiz	echo @set UPDATED 30 October 2014 > ${.TARGET}
21*e272cbefSwiz	echo @set UPDATED-MONTH October 2014 >> ${.TARGET}
22b7899253Schristos	echo @set EDITION $$( (cat ${.CURDIR}/../include/config.h && \
23b7899253Schristos	    echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
24b7899253Schristos	echo @set VERSION $$( (cat ${.CURDIR}/../include/config.h && \
25b7899253Schristos	    echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
26b7899253Schristos
27b7899253Schristos
28b7899253Schristos.include <bsd.info.mk>
29