[Inteproxy-commits] r300 - in trunk: . server/doc

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 8 13:59:34 CEST 2011


Author: sholl
Date: 2011-04-08 13:59:33 +0200 (Fri, 08 Apr 2011)
New Revision: 300

Modified:
   trunk/ChangeLog
   trunk/server/doc/Makefile
   trunk/server/doc/README.txt
Log:
* doc/Makefile: added latexpdf-target to build PDF-document by default
* doc/README.txt: added documentation of latexpdf-make-target



Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2011-02-17 21:14:05 UTC (rev 299)
+++ trunk/ChangeLog	2011-04-08 11:59:33 UTC (rev 300)
@@ -1,3 +1,9 @@
+2011-04-08  Stephan Holl  <stephan.holl at intevation.de>
+
+	* doc/Makefile: added latexpdf-target to build PDF-document by
+	default
+	* doc/README.txt: added documentation of latexpdf-make-target
+
 2011-02-17  Bernhard Herzog  <bh at intevation.de>
 
 	* test/test_config.py (TestReadConfigHttpProxySpecialChars): New

Modified: trunk/server/doc/Makefile
===================================================================
--- trunk/server/doc/Makefile	2011-02-17 21:14:05 UTC (rev 299)
+++ trunk/server/doc/Makefile	2011-04-08 11:59:33 UTC (rev 300)
@@ -23,6 +23,7 @@
 	@echo "  htmlhelp  to make HTML files and a HTML help project"
 	@echo "  qthelp    to make HTML files and a qthelp project"
 	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+	@echo "  latexpdf  to make pdf files, with pdflatex"
 	@echo "  pdf       to make pdf files, with rst2pdf"
 	@echo "  changes   to make an overview of all changed/added/deprecated items"
 	@echo "  linkcheck to check all external links for integrity"
@@ -72,6 +73,13 @@
 	@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
 	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
 	      "run these through (pdf)latex."
+
+latexpdf:
+	$(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."
+
 pdf:
 	$(SPHINXBUILD) -b pdf $(ALLSPHINXOPTS) $(BUILDDIR)/pdf
 	@echo

Modified: trunk/server/doc/README.txt
===================================================================
--- trunk/server/doc/README.txt	2011-02-17 21:14:05 UTC (rev 299)
+++ trunk/server/doc/README.txt	2011-04-08 11:59:33 UTC (rev 300)
@@ -25,7 +25,9 @@
 
   cd build/latex; make all-pdf; cd -
 
+Or use ``make latexpdf`` to create the latex PDF version of the documentation. 
 
+
 Reading the docs
 ================
 



More information about the Inteproxy-commits mailing list