diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/thesis/fig/Makefile	Sat Feb 07 22:39:07 2009 +0100
@@ -0,0 +1,36 @@
+# generate clipped EPS pictures of PIC files
+#
+# requires: pic, troff (with font Palatino), grops, ps2eps
+
+#IMG=`ls *.pic | sed 's/\.pic$$/.eps/'`
+IMG=\
+comm-classification.eps \
+masqmail-arch-new.eps \
+comm-lifecycle.eps \
+email-swot.eps \
+mta-channels.eps \
+stunnel.eps \
+mail-agents.eps \
+masqmail-typical-usage.eps \
+masqmail-channels.eps \
+proxy-setup.eps \
+ipc-protocol.eps \
+
+
+.PHONY: all
+all: info $(IMG)
+
+info:
+	@echo "pictures to generate: $(IMG)"
+
+
+
+.SUFFIXES: .pic .eps
+.pic.eps: *.pic
+	@echo ">>>> processing: $*"
+	pic $*.pic | troff -fP | grops | ps2eps -f > $*.eps
+
+
+.PHONY: clean
+clean:
+	rm -f `ls *.pic | sed 's/\.pic$$/.eps/'`