Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl2/groff Hardcode man page dates to date of groff...
details: https://anonhg.NetBSD.org/src/rev/28b9f93a5626
branches: trunk
changeset: 344208:28b9f93a5626
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Mar 16 23:52:04 2016 +0000
description:
Hardcode man page dates to date of groff release (September 4, 2005
for 1.19.2 in this case).
We can not use mdate.sh since after checkout/update from version
control, it might be today's date and MKREPRO won't work.
diffstat:
external/gpl2/groff/Makefile.inc | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r c1fae48184cf -r 28b9f93a5626 external/gpl2/groff/Makefile.inc
--- a/external/gpl2/groff/Makefile.inc Wed Mar 16 23:02:23 2016 +0000
+++ b/external/gpl2/groff/Makefile.inc Wed Mar 16 23:52:04 2016 +0000
@@ -1,9 +1,14 @@
-# $NetBSD: Makefile.inc,v 1.2 2016/01/14 02:30:18 christos Exp $
+# $NetBSD: Makefile.inc,v 1.3 2016/03/16 23:52:04 wiz Exp $
# $FreeBSD: src/gnu/usr.bin/groff/Makefile.inc,v 2.7 2003/05/01 13:22:18 ru Exp $
BINDIR?= /usr/bin
ECHO= echo
+# date of groff tarball; embedded as last-change date into man pages
+# we can not use mdate.sh since after checkout from some of the used
+# version control systems, it might be today's date and MKREPRO won't
+# work.
+MDATE= September 4, 2005
# Define `page' to be letter if your PostScript printer uses 8.5x11
# paper (USA) and define it to be A4, if it uses A4 paper (rest of the
@@ -137,7 +142,7 @@
-e "s;@TMAC_MDIR@;$(tmacdir)/mm;g" \
-e "s;@BROKEN_SPOOLER_FLAGS@;$(BROKEN_SPOOLER_FLAGS);g" \
-e "s;@VERSION@;$(version)$(revision);g" \
- -e "s;@MDATE@;`${HOST_SH} ${GROFF_DIST}/mdate.sh $<`;g" \
+ -e "s;@MDATE@;${MDATE};g" \
-e "s;@g@;$(g);g" \
-e "s;@G@;`echo $(g) | LC_ALL=C tr [a-z] [A-Z]`;g" \
$< >$@
Home |
Main Index |
Thread Index |
Old Index