diff doku/Makefile @ 219:f13f51627f07

Adopted Makefiles to build documentation as well
author Stephan Holl <stephan.holl@intevation.de>
date Wed, 27 Jul 2011 09:16:00 +0200
parents 43f1cbdcd597
children 656da3f693b8
line wrap: on
line diff
--- a/doku/Makefile	Mon Jul 25 11:09:52 2011 +0200
+++ b/doku/Makefile	Wed Jul 27 09:16:00 2011 +0200
@@ -7,6 +7,7 @@
 PAPER         =
 BUILDDIR      = build
 MAKE          = make
+WEBSITE       = ../website/documentation
 
 # Internal variables.
 PAPEROPT_a4     = -D latex_paper_size=a4
@@ -132,3 +133,6 @@
 	$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
 	@echo "Testing of doctests in the sources finished, look at the " \
 	      "results in $(BUILDDIR)/doctest/output.txt."
+
+online: html
+	rm -rf $(WEBSITE) && mkdir -p $(WEBSITE) && cp -r build/html/* $(WEBSITE)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)