diff website/buildhtml.mk @ 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 011ec33e84b4
children ec9d63ce691d
line wrap: on
line diff
--- a/website/buildhtml.mk	Mon Jul 25 11:09:52 2011 +0200
+++ b/website/buildhtml.mk	Wed Jul 27 09:16:00 2011 +0200
@@ -17,7 +17,7 @@
 # Installation configuration
 INSTALL_DIR = ./mxd2map-www
 ADD_INST_TYPES = *.css *.php *.png .htaccess
-ADD_INST_DIRS = img
+ADD_INST_DIRS = img documentation
 
 CURDIR=$(shell pwd)
 
@@ -31,6 +31,9 @@
 $(TARGETS): template.m4 template_header.m4 \
             header.m4 style.css
 
+documentation:
+	$(MAKE) -C ../doku online
+
 images:
 	$(MAKE) -C ../doku/funktionsweise/ all
 
@@ -39,7 +42,7 @@
 	  $(MAKE) -C $$dir SUBDIRS="" ; \
 	done
 
-online: all
+online: all documentation
 	echo "Going to put current contents online for www.mxd2mapp.org ..."
 	rsync -urvPL --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \
         sholl@wald.intevation.org:/mxd2map/htdocs/
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)