add Makefile
authoradam <adam@megacz.com>
Sat, 29 Aug 2009 21:42:35 +0000 (14:42 -0700)
committeradam <adam@megacz.com>
Sat, 29 Aug 2009 21:42:35 +0000 (14:42 -0700)
darcs-hash:20090829214235-5007d-d94266f648682f3453645934d1a7109756d80c7f.gz

Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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