change Makefile back to standard
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
-BUILDDIR = ../../cocotb_docs
-PDFBUILDDIR = /tmp
-PDF = ../manual.pdf
+BUILDDIR = build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
@@ -113,10 +111,9 @@ latex:
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(PDFBUILDDIR)/latex
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
- $(MAKE) -C $(PDFBUILDDIR)/latex all-pdf
- cp $(PDFBUILDDIR)/latex/*.pdf $(PDF)
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
latexpdfja:
