Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/notes For MKREPRO, remove the "%%CreationDate:" comm...
details: https://anonhg.NetBSD.org/src/rev/1766275a6b74
branches: trunk
changeset: 326349:1766275a6b74
user: apb <apb%NetBSD.org@localhost>
date: Sun Jan 26 17:00:03 2014 +0000
description:
For MKREPRO, remove the "%%CreationDate:" comment line from
PostScript output files.
diffstat:
distrib/notes/Makefile.inc | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 7ef208417fd4 -r 1766275a6b74 distrib/notes/Makefile.inc
--- a/distrib/notes/Makefile.inc Sun Jan 26 16:53:00 2014 +0000
+++ b/distrib/notes/Makefile.inc Sun Jan 26 17:00:03 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.41 2008/10/25 22:27:34 apb Exp $
+# $NetBSD: Makefile.inc,v 1.42 2014/01/26 17:00:03 apb Exp $
#
# Ross Harvey <ross%NetBSD.org@localhost>
@@ -51,9 +51,12 @@
TOC.more= ${TOCS:M*.more.*}
.endif
+REMOVE_CREATION_DATE= ${TOOL_SED} -e '/^%%CreationDate:/d'
${TARG}.ps: ${SRCS} ${TOC.ps} ${DISTRIBVERDEP}
- ${TOOL_GROFF} ${ARGS_PS} -mdoc ${MAIN} > $@
+ ${TOOL_GROFF} ${ARGS_PS} -mdoc ${MAIN} \
+ ${${MKREPRO:Uno} == "yes":? | ${REMOVE_CREATION_DATE} :} \
+ > $@
${TARG}.pdf: ${TARG}.ps
ps2pdf ${TARG}.ps $@
Home |
Main Index |
Thread Index |
Old Index