From fc81195a10bb5321f9125e607f46f349c1021204 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 29 Aug 2009 14:42:35 -0700 Subject: [PATCH] add Makefile darcs-hash:20090829214235-5007d-d94266f648682f3453645934d1a7109756d80c7f.gz --- Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..94c7121 --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ + +inkscape = DISPLAY= /Applications/Inkscape.app/Contents//Resources/bin/inkscape -z + +default: am33.pdf + open am33.pdf + +am33.pdf: am33.tex + pdflatex am33.tex + +am33.pdf: am33.tex best.pdf ports.pdf overview.pdf indock.pdf outdock.pdf inner-loop.pdf outer-loop.pdf all.pdf in.pdf out.pdf + pdflatex am33.tex + +#in.eps: all.svg +# $(inkscape) -j --export-id=input $^ --export-eps=$@ +# +#out.eps: all.svg +# $(inkscape) -j --export-id=output $^ --export-eps=$@ + +%.eps: %.svg + $(inkscape) -D $^ --export-eps=$@ + +%.pdf: %.eps + epstopdf $^ --outfile=$@ + +publish: am33.pdf + aklog research.cs.berkeley.edu + cp am33.pdf /afs/research.cs.berkeley.edu/class/fleet/website/docs/people/adam.megacz/am33/`date +%d-%b-%Y | tr A-Z a-z`.pdf + cd /afs/research.cs.berkeley.edu/class/fleet/website/docs/people/adam.megacz/am33/; ln -sf `date +%d-%b-%Y | tr A-Z a-z`.pdf am33-latest.pdf + echo + emacs -nw ~/wix/src/research.cs.berkeley.edu/fleet/docs/index.wix + cd ~/proj/wix; make \ No newline at end of file -- 1.7.10.4