# $Cambridge: hermes/doc/talks/2003-04-sage-wise/Makefile,v 1.16 2003/04/10 16:14:32 fanf2 Exp $ HERMESPIC= hermes-web.pic hermes+web.pic CLOUDPIC= hermes-new.pic ppsw-nohub.pic ppsw-hubbed.pic ppsw-filter.pic PICSRC = ${CLOUDPIC} ${HERMESPIC} PICPS = ${PICSRC:.pic=.ps} PICEPS = ${PICSRC:.pic=.eps} PICPDF = ${PICSRC:.pic=.pdf} PIC = ${PICPS} ${PICEPS} ${PICPDF} talk: ${PICEPS} talk.mgp mgp -F1,1,1 -t60 talk.mgp view: ${PICPS} for file in ${PICPS}; do gv $$file & done index.html: ${PICPDF} ${PICEPS} talk.mgp mgp -D. talk.mgp all: index.html clean: rm -f .gscache.* rm -f mgp* index.html rm -f *.ps *.pdf *.eps *.epsi ${CLOUDPIC}: cloud.pic ${HERMESPIC}: hermes.pic cloud.pic # excessively complicated eps construction .SUFFIXES: .pic .ps .pdf .eps .epsi .pic.ps: groff -Tps -p $< > $@ .ps.pdf: ps2pdf $< $@ .ps.epsi: ps2epsi $< $@ # this hack isn't strictly necessary, but makes smaller .eps files .epsi.eps: sed -e '/^% /d;/^%%[A-Z][a-z]*Preview/d' $< > $@ # EOF