Commits

Serge Émond committed 9354809

Makefile: add generation of pdf

Comments (0)

Files changed (1)

 
-.PHONY: help doc
+.PHONY: help clean tag_version docs upload upload_sdist upload_doc
 
 help:
 	@echo "Usage: make <target>"
 	python setup.py upload_docs
 
 docs:
-	cd doc; $(MAKE) $(MFLAGS) html
+	cd doc; $(MAKE) $(MFLAGS) html latex
+	cd doc/_build/latex; $(MAKE) $(MFLAGS) all-pdf
 	-rm -rf build/docs
 	cp -a doc/_build/html build/docs
+	cp -a doc/_build/latex/qslaunch.pdf build/docs/
 	-rm -f build/docs/.buildinfo