
24 Jan
2005
24 Jan
'05
3:32 p.m.
Up spake Steffen Glückselig:
.ps.eps: ps2eps -l -f $< || ps2epsi $< $@
Would you, shortly, elaborate on that cryptic line?
This is a 'suffix rule', defining the conversion from .ps to .eps.
$< expands to the input (.ps) file. $@ expands to the output (.eps) file.
The rule first tries ps2eps. If that doesn't work (e.g. if ps2eps isn't installed), it tries ps2epsi.
Under Debian, ps2epsi is provided by gs-common (i.e. ghostscript). I don't have ps2eps installed anymore, so I'm not sure what provides it.
--
-trent
My car can FLY thanks to the power of LIES!