[cig-commits] [commit] master: copy pdf into main folder after compiling (0436bf2)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Dec 10 21:41:02 PST 2014


Repository : https://github.com/geodynamics/burnman

On branch  : master
Link       : https://github.com/geodynamics/burnman/compare/f76fd51b3334a16aae97d4dd7ab1f0204e1d2eb0...c28b39d1cfe942c4cb3b292e4aba88f5850c03a6

>---------------------------------------------------------------

commit 0436bf2f98d1b4f388fa583083a58dc7fe09236c
Author: Timo Heister <timo.heister at gmail.com>
Date:   Tue Dec 9 15:12:17 2014 -0500

    copy pdf into main folder after compiling
    
    the default location _build/latex/ is inconvenient...


>---------------------------------------------------------------

0436bf2f98d1b4f388fa583083a58dc7fe09236c
 sphinx/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sphinx/Makefile b/sphinx/Makefile
index f5294b7..6653a09 100644
--- a/sphinx/Makefile
+++ b/sphinx/Makefile
@@ -107,6 +107,8 @@ latexpdf:
 	@echo "Running LaTeX files through pdflatex..."
 	$(MAKE) -C $(BUILDDIR)/latex all-pdf
 	@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+	@cp $(BUILDDIR)/latex/BurnMan.pdf .
+	@echo "Final output is ./BurnMan.pdf"
 
 text:
 	$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text



More information about the CIG-COMMITS mailing list