For MKREPRO, remove the "%%CreationDate:" comment line from

PostScript output files.
This commit is contained in:
apb 2014-01-26 17:00:03 +00:00
parent 0c9e596c4b
commit b2a05dedfc
1 changed files with 5 additions and 2 deletions

View File

@ -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>
@ -51,9 +51,12 @@ TOC.html= ${TOCS:M*.HTML.*}
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 $@