From 79a6cb1f97eb349efdc885b30ce31575e2931e5a Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 18 Apr 2004 02:42:27 +0000 Subject: [PATCH] better reference-building Makefile commands darcs-hash:20040418024227-5007d-451cf4a2172b0738011f0a7d2d3bf6168cbb1d13.gz --- Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8b85eb5..2c8b68a 100644 --- a/Makefile +++ b/Makefile @@ -428,8 +428,12 @@ propose-patch: commit: propose-patch darcs push xwt@xwt.org:/var/www/org/ibex/core/ -doc/%.pdf: build/class/org/ibex/util/XML.class build/class/org/ibex/util/Doc.class doc/%.xml - cd $(@D); java -cp ../../build/class org.ibex.util.Doc slides < `basename $*`.xml > `basename $*`.tex - cd $(@D); pdflatex `basename $*`.tex - open doc/$*.pdf - +upstream/org.ibex.doc/src/org/ibex/doc/Doc.java: .download_org.ibex.doc +build/class/org/ibex/doc/Doc.class: upstream/org.ibex.doc/src/org/ibex/doc/Doc.java + $(javac) upstream/org.ibex.doc/src/org/ibex/doc/Doc.java +doc/%.pdf: build/class/org/ibex/util/XML.class build/class/org/ibex/doc/Doc.class + cd doc/$*; java -cp ../../build/class org.ibex.doc.Doc < $*.xml > $*.tex + cd doc/$*; pdflatex $*.tex + mv doc/$*/$*.pdf doc/$*.pdf + test `uname` == Darwin && open doc/$*.pdf +reference: ; rm -f doc/reference.pdf; make doc/reference.pdf \ No newline at end of file -- 1.7.10.4