diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
@@ -50,17 +50,9 @@ help: clean: rm -rf $(BUILDDIR)/* - -arch-api.png: arch-api.dot - dot -Tpng arch-api.dot > arch-api.png -coin.png: coin.dot - dot -Tpng coin.dot > coin.png -deposit.png: deposit.dot - dot -Tpng deposit.dot > deposit.png -reserve.png: reserve.dot - dot -Tpng reserve.dot > reserve.png - -diagrams: arch-api.png coin.png +.PHONY: diagrams +diagrams: + $(MAKE) -C images/ # The html-linked builder does not support caching, so we @@ -115,25 +107,25 @@ devhelp: @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/neuro" @echo "# devhelp" -epub: +epub: diagrams $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub @echo @echo "Build finished. The epub file is in $(BUILDDIR)/epub." -latex: +latex: diagrams $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." @echo "Run \`make' in that directory to run these through (pdf)latex" \ "(use \`make latexpdf' here to do that automatically)." -latexpdf: +latexpdf: diagrams $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through pdflatex..." $(MAKE) -C $(BUILDDIR)/latex all-pdf @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." -latexpdfja: +latexpdfja: diagrams $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through platex and dvipdfmx..." $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja |