NetBSD/usr.sbin/amd/doc/Makefile

25 lines
663 B
Makefile

# $NetBSD: Makefile,v 1.10 2004/11/28 01:10:00 lukem Exp $
.include "${.CURDIR}/../Makefile.inc"
DIST= ${IDIST}/doc
.PATH: ${DIST}
TEXINFO= am-utils.texi
INFOFLAGS= -I${DIST} -I${.CURDIR}
CLEANFILES+= version.texi
am-utils.info: version.texi
version.texi:
echo @set UPDATED $$(date +"%d %B %Y") > ${.TARGET}
echo @set UPDATED-MONTH $$(date +"%B %Y") >> ${.TARGET}
echo @set EDITION $$( (cat ${.CURDIR}/../include/config.h && \
echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
echo @set VERSION $$( (cat ${.CURDIR}/../include/config.h && \
echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
.include <bsd.info.mk>