Source-Changes-HG archive

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

[src/trunk]: src/share/mk Remove CreationDate from the header of output posts...



details:   https://anonhg.NetBSD.org/src/rev/d94968a920ba
branches:  trunk
changeset: 339701:d94968a920ba
user:      dholland <dholland%NetBSD.org@localhost>
date:      Tue Aug 04 08:36:14 2015 +0000

description:
Remove CreationDate from the header of output postscript. Also, feed -n
to gzip when compressing so it doesn't store the timestamp in the file
header. For MKREPRO, but unconditional as the information omitted isn't
particularly useful. PR 50116.

diffstat:

 share/mk/bsd.doc.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r adcbb897f0f9 -r d94968a920ba share/mk/bsd.doc.mk
--- a/share/mk/bsd.doc.mk       Tue Aug 04 07:43:25 2015 +0000
+++ b/share/mk/bsd.doc.mk       Tue Aug 04 08:36:14 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.doc.mk,v 1.67 2014/07/06 18:22:03 dholland Exp $
+#      $NetBSD: bsd.doc.mk,v 1.68 2015/08/04 08:36:14 dholland Exp $
 #      @(#)bsd.doc.mk  8.1 (Berkeley) 8/14/93
 
 .include <bsd.init.mk>
@@ -132,6 +132,7 @@
 ${SA}.ps: ${SRCS2.${SA}} ${DEPSRCS2.${SA}}
        ${_MKTARGET_FORMAT}
        ${TOOL_ROFF_PS} ${ROFFFLAGS} ${MACROS} ${PAGES} ${SRCS2.${SA}} \
+               | ${TOOL_SED} -e '/^%%CreationDate:/d' \
                > ${.TARGET}
 
 ${SA}.pdf: ${SRCS2.${SA}} ${DEPSRCS2.${SA}}
@@ -146,7 +147,7 @@
                > ${.TARGET}
 
 ${SA}.ps.gz: ${SA}.ps
-       ${TOOL_GZIP} -9 -c ${.ALLSRC} > ${.TARGET}
+       ${TOOL_GZIP} -9 -c -n ${.ALLSRC} > ${.TARGET}
 
 .endfor # SUBARTICLES
 



Home | Main Index | Thread Index | Old Index