Module Name:    src
Committed By:   dholland
Date:           Tue Aug  4 08:36:14 UTC 2015

Modified Files:
        src/share/mk: bsd.doc.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/share/mk/bsd.doc.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.doc.mk
diff -u src/share/mk/bsd.doc.mk:1.67 src/share/mk/bsd.doc.mk:1.68
--- src/share/mk/bsd.doc.mk:1.67	Sun Jul  6 18:22:03 2014
+++ src/share/mk/bsd.doc.mk	Tue Aug  4 08:36:14 2015
@@ -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}.txt: ${SRCS2.${SA}} ${DEPSRCS2.${S
 ${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 @@ ${SA}.html: ${SRCS2.${SA}} ${DEPSRCS2.${
 		> ${.TARGET}
 
 ${SA}.ps.gz: ${SA}.ps
-	${TOOL_GZIP} -9 -c ${.ALLSRC} > ${.TARGET}
+	${TOOL_GZIP} -9 -c -n ${.ALLSRC} > ${.TARGET}
 
 .endfor # SUBARTICLES
 

Reply via email to