From dc2a444aae38a6db4cb6423a1c940122982c1433 Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Wed, 23 Dec 2009 13:17:35 +0000 Subject: [PATCH] GS 8.70 needs that target files exist before being created. This unbreakis doc builds with that GS version. Submitted by: hrs@ --- share/mk/doc.images.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/mk/doc.images.mk b/share/mk/doc.images.mk index c0378a6d08..2477960ad0 100644 --- a/share/mk/doc.images.mk +++ b/share/mk/doc.images.mk @@ -202,7 +202,9 @@ PS2EPSOPTS?= -q -dNOPAUSE -dSAFER -dDELAYSAFER \ # from the command line. So ps->eps suffix rule is defined. In the rule, # gs(1) is used to generate the bitmap preview and the size of the # bounding box. +# XXX: GS 8.70 needs that $outfile exists before being created. .ps.eps: + ${TOUCH} ${.TARGET} ${SETENV} outfile=${.TARGET} ${PS2EPS} ${PS2EPSOPTS} < ${.ALLSRC} 1>&2 (echo "save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def";\ echo "%%EndProlog";\