2005-10-27 23:03:58 +04:00
|
|
|
# $NetBSD: Makefile,v 1.11 2005/10/27 19:03:58 jmc Exp $
|
1993-11-28 00:16:51 +03:00
|
|
|
|
2000-11-20 03:24:41 +03:00
|
|
|
.include "${.CURDIR}/../Makefile.inc"
|
|
|
|
|
|
|
|
DIST= ${IDIST}/doc
|
|
|
|
.PATH: ${DIST}
|
|
|
|
|
|
|
|
TEXINFO= am-utils.texi
|
|
|
|
INFOFLAGS= -I${DIST} -I${.CURDIR}
|
|
|
|
|
2004-11-27 04:39:23 +03:00
|
|
|
CLEANFILES+= version.texi
|
|
|
|
|
|
|
|
am-utils.info: version.texi
|
|
|
|
|
|
|
|
version.texi:
|
2005-10-27 23:03:58 +04:00
|
|
|
echo @set UPDATED $$(${HOST_SH} ${DIST}/mdate-sh \
|
|
|
|
${DIST}/am-utils.texi) > ${.TARGET}
|
|
|
|
echo @set UPDATED-MONTH $$(${HOST_SH} ${DIST}/mdate-sh \
|
|
|
|
${DIST}/am-utils.texi) >> ${.TARGET}
|
2004-11-27 04:39:23 +03:00
|
|
|
echo @set EDITION $$( (cat ${.CURDIR}/../include/config.h && \
|
2004-11-28 04:10:00 +03:00
|
|
|
echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
|
2004-11-27 04:39:23 +03:00
|
|
|
echo @set VERSION $$( (cat ${.CURDIR}/../include/config.h && \
|
2004-11-28 04:10:00 +03:00
|
|
|
echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
|
2004-11-27 04:39:23 +03:00
|
|
|
|
1993-11-28 00:16:51 +03:00
|
|
|
|
1999-07-22 05:16:59 +04:00
|
|
|
.include <bsd.info.mk>
|