Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/usr.sbin/amd/doc Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/91049d9c3d21
branches:  netbsd-3
changeset: 577412:91049d9c3d21
user:      riz <riz%NetBSD.org@localhost>
date:      Fri Oct 28 23:47:08 2005 +0000

description:
Pull up following revision(s) (requested by jmc in ticket #917):
        usr.sbin/amd/doc/Makefile: revision 1.11
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

diffstat:

 usr.sbin/amd/doc/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 56d5313ee7d2 -r 91049d9c3d21 usr.sbin/amd/doc/Makefile
--- a/usr.sbin/amd/doc/Makefile Fri Oct 28 20:13:28 2005 +0000
+++ b/usr.sbin/amd/doc/Makefile Fri Oct 28 23:47:08 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2004/11/28 01:10:00 lukem Exp $
+#      $NetBSD: Makefile,v 1.10.2.1 2005/10/28 23:47:08 riz Exp $
 
 .include "${.CURDIR}/../Makefile.inc"
 
@@ -13,8 +13,10 @@
 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 && \



Home | Main Index | Thread Index | Old Index