diff options
author | Murray Stokely <murray@FreeBSD.org> | 2001-08-14 21:51:25 +0000 |
---|---|---|
committer | Murray Stokely <murray@FreeBSD.org> | 2001-08-14 21:51:25 +0000 |
commit | 388ddee70e1fed8e3d8fee90ffb694a0bf3e3b77 (patch) | |
tree | f0d3ed34de1a1a730a3cd4e98b15eaed58ea6b79 /share/mk/doc.images.mk | |
parent | cff40462a9018e37c44190ca409b80fe8fd4d919 (diff) | |
download | doc-388ddee70e1fed8e3d8fee90ffb694a0bf3e3b77.tar.gz doc-388ddee70e1fed8e3d8fee90ffb694a0bf3e3b77.zip |
Add scr -> png -> eps support, so that we can build Randy's new
Installation chapter with spiffy color screenshots of sysinstall.
Notes
Notes:
svn path=/head/; revision=10352
Diffstat (limited to 'share/mk/doc.images.mk')
-rw-r--r-- | share/mk/doc.images.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/share/mk/doc.images.mk b/share/mk/doc.images.mk index e6868af1b7..7f1ed38fc2 100644 --- a/share/mk/doc.images.mk +++ b/share/mk/doc.images.mk @@ -1,5 +1,5 @@ # -# $FreeBSD: doc/share/mk/doc.images.mk,v 1.9 2001/06/22 10:12:23 nik Exp $ +# $FreeBSD: doc/share/mk/doc.images.mk,v 1.10 2001/07/13 12:09:59 nik Exp $ # # This include file <doc.images.mk> handles image processing. # @@ -54,7 +54,7 @@ IMAGES_GEN_PDF=${IMAGES:M*.eps:S/.eps$/.pdf/} CLEANFILES+= ${IMAGES_GEN_PNG} ${IMAGES_GEN_EPS} ${IMAGES_GEN_PDF} IMAGES_PNG=${IMAGES:M*.png} ${IMAGES_GEN_PNG} ${IMAGES:M*.scr:S/.scr$/.png/} -IMAGES_EPS=${IMAGES:M*.eps} ${IMAGES_GEN_EPS} +IMAGES_EPS=${IMAGES:M*.eps} ${IMAGES_GEN_EPS} ${IMAGES:M*.scr:S/.scr$/.eps/} # The default resolution eps2png (82) assumes a 640x480 monitor, and is too # low for the typical monitor in use today. The resolution of 100 looks @@ -68,10 +68,12 @@ EPS2PNG_RES?= 100 IMAGES_PDF=${IMAGES_GEN_PDF} # Use suffix rules to convert .scr files to .png files -.SUFFIXES: .scr .png +.SUFFIXES: .scr .png .eps .scr.png: scr2png < ${.IMPSRC} > ${.TARGET} +.scr.eps: + scr2png < ${.ALLSRC} | pngtopnm | pnmtops -noturn > ${.TARGET} # We can't use suffix rules to generate the rules to convert EPS to PNG and # PNG to EPS. This is because a .png file can depend on a .eps file, and |