docs/diploma

annotate thesis/fig/Makefile @ 397:13e630c5a44d

rename img -> fig
author meillo@marmaro.de
date Sat, 07 Feb 2009 22:39:07 +0100
parents thesis/img/Makefile@c4d78cd40827
children a641bea7a087
rev   line source
meillo@202 1 # generate clipped EPS pictures of PIC files
meillo@202 2 #
meillo@202 3 # requires: pic, troff (with font Palatino), grops, ps2eps
meillo@202 4
meillo@202 5 #IMG=`ls *.pic | sed 's/\.pic$$/.eps/'`
meillo@230 6 IMG=\
meillo@230 7 comm-classification.eps \
meillo@230 8 masqmail-arch-new.eps \
meillo@230 9 comm-lifecycle.eps \
meillo@230 10 email-swot.eps \
meillo@230 11 mta-channels.eps \
meillo@230 12 stunnel.eps \
meillo@252 13 mail-agents.eps \
meillo@255 14 masqmail-typical-usage.eps \
meillo@258 15 masqmail-channels.eps \
meillo@325 16 proxy-setup.eps \
meillo@329 17 ipc-protocol.eps \
meillo@202 18
meillo@202 19
meillo@202 20 .PHONY: all
meillo@202 21 all: info $(IMG)
meillo@202 22
meillo@202 23 info:
meillo@202 24 @echo "pictures to generate: $(IMG)"
meillo@202 25
meillo@202 26
meillo@202 27
meillo@202 28 .SUFFIXES: .pic .eps
meillo@202 29 .pic.eps: *.pic
meillo@202 30 @echo ">>>> processing: $*"
meillo@202 31 pic $*.pic | troff -fP | grops | ps2eps -f > $*.eps
meillo@202 32
meillo@202 33
meillo@202 34 .PHONY: clean
meillo@202 35 clean:
meillo@202 36 rm -f `ls *.pic | sed 's/\.pic$$/.eps/'`