[mapserver-commits] r9710 - trunk/docs

svn at osgeo.org svn at osgeo.org
Tue Jan 19 11:01:06 EST 2010


Author: gislars
Date: 2010-01-19 11:01:05 -0500 (Tue, 19 Jan 2010)
New Revision: 9710

Modified:
   trunk/docs/Makefile
Log:
(doc) added new target to build makefile

Modified: trunk/docs/Makefile
===================================================================
--- trunk/docs/Makefile	2010-01-18 18:55:29 UTC (rev 9709)
+++ trunk/docs/Makefile	2010-01-19 16:01:05 UTC (rev 9710)
@@ -8,7 +8,8 @@
 SPHINXOPTS    =
 SPHINXBUILD   = sphinx-build
 PAPER         =
-LANGUAGES     = en de
+TRANSLATIONS  = de
+LANGUAGES     = en $(TRANSLATIONS) 
 
 # On mapserver.org we need to write alternate links for the language switcher.
 # This is triggered by setting TARGET to 'mapserverorg'
@@ -26,6 +27,7 @@
 help:
 	@echo "Please use \`make <target>' where <target> is one of"
 	@echo "  html      to make standalone HTML files"
+	@echo "  init	   to preprocess translation directories"
 	@echo "  pickle    to make pickle files"
 	@echo "  json      to make JSON files"
 	@echo "  htmlhelp  to make HTML files and a HTML help project"
@@ -38,6 +40,13 @@
 clean:
 	-rm -rf build/*
 
+init:
+	@for lang in $(TRANSLATIONS) ;\
+	do \
+		cp -npR en/* $$lang;\
+	done
+	@echo "Init finished. Other target can now be build.";\
+
 html:
 	@for lang in $(LANGUAGES);\
 	do \



More information about the mapserver-commits mailing list