diff website/buildhtml.mk @ 236:ec9d63ce691d

Made build-chain for website and docs better
author Stephan Holl <stephan.holl@intevation.de>
date Fri, 05 Aug 2011 09:32:18 +0200
parents f13f51627f07
children 1725558a9ce8
line wrap: on
line diff
--- a/website/buildhtml.mk	Fri Aug 05 09:18:53 2011 +0200
+++ b/website/buildhtml.mk	Fri Aug 05 09:32:18 2011 +0200
@@ -26,13 +26,13 @@
 .htm4.html:
 	$(PP) -DNO_LINK_FOR=$@ $(PPFLAGS) $< > $@
 
-all: $(TARGETS) images subdirs
+all: $(TARGETS) doc images subdirs
 
 $(TARGETS): template.m4 template_header.m4 \
             header.m4 style.css
 
-documentation:
-	$(MAKE) -C ../doku online
+doc:
+	$(MAKE) -C ../doku/ online
 
 images:
 	$(MAKE) -C ../doku/funktionsweise/ all
@@ -42,8 +42,8 @@
 	  $(MAKE) -C $$dir SUBDIRS="" ; \
 	done
 
-online: all documentation
-	echo "Going to put current contents online for www.mxd2mapp.org ..."
+online: all 
+	echo "Going to put current contents online for www.mxd2map.org ..."
 	rsync -urvPL --exclude='.hg' $(ADD_INST_TYPES) $(TARGETS) $(ADD_INST_DIRS) \
         sholl@wald.intevation.org:/mxd2map/htdocs/
 
@@ -60,6 +60,7 @@
 
 clean:
 	$(MAKE) -C ../doku/funktionsweise/ clean
+	$(MAKE) -C ../doku/ clean
 	rm -f *.html
 
 clean-en:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)