reference updates, including diagrams
[org.ibex.core.git] / Makefile
index 993e66e..d09fcb1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -379,8 +379,9 @@ propose-patch:
 commit: propose-patch
        darcs push --and-apply xwt@xwt.org:/var/www/org/ibex/core/
 
-reference: build/class/org/ibex/util/XML.class build/class/org/ibex/util/Doc.class doc/reference.xml
-       cd doc; java -cp ../build/class org.ibex.util.Doc < reference.xml > reference.tex
-       cd doc; pdflatex reference.tex
-       open doc/reference.pdf
+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
+