GS 8.70 needs that target files exist before being created. This

unbreakis doc builds with that GS version.

Submitted by:	hrs@
This commit is contained in:
Marc Fonvieille 2009-12-23 13:17:35 +00:00
parent 230f2968cc
commit dc2a444aae
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=35109

View file

@ -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";\