docs/diploma

diff thesis/img/Makefile @ 202:3882f462d02d

added first PIC pictures plus Makefile
author meillo@marmaro.de
date Thu, 01 Jan 2009 21:32:19 +0100
parents
children b9ff5873f701
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/img/Makefile	Thu Jan 01 21:32:19 2009 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +# generate clipped EPS pictures of PIC files
     1.5 +#
     1.6 +# requires: pic, troff (with font Palatino), grops, ps2eps
     1.7 +
     1.8 +#IMG=`ls *.pic | sed 's/\.pic$$/.eps/'`
     1.9 +IMG=comm-classification.eps masqmail-arch-new.eps
    1.10 +
    1.11 +
    1.12 +.PHONY: all
    1.13 +all: info $(IMG)
    1.14 +
    1.15 +info:
    1.16 +	@echo "pictures to generate: $(IMG)"
    1.17 +
    1.18 +
    1.19 +
    1.20 +.SUFFIXES: .pic .eps
    1.21 +.pic.eps: *.pic
    1.22 +	@echo ">>>> processing: $*"
    1.23 +	pic $*.pic | troff -fP | grops | ps2eps -f > $*.eps
    1.24 +
    1.25 +
    1.26 +.PHONY: clean
    1.27 +clean:
    1.28 +	rm -f `ls *.pic | sed 's/\.pic$$/.eps/'`