Create version.texi using the same scheme am-utils natively does. i.e. from
the date/timestamp of the am-utils file and using mdate-sh
This commit is contained in:
parent
2ab5e7c4d7
commit
cc925ba123
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2004/11/28 01:10:00 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2005/10/27 19:03:58 jmc Exp $
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc"
|
||||
|
||||
|
@ -13,8 +13,10 @@ 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 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}
|
||||
echo @set EDITION $$( (cat ${.CURDIR}/../include/config.h && \
|
||||
echo VERSION) | ${CPP} -P ${CPPFLAGS} | tr -d \") >> ${.TARGET}
|
||||
echo @set VERSION $$( (cat ${.CURDIR}/../include/config.h && \
|
||||
|
|
Loading…
Reference in New Issue