r19143 - htdocs/trunk - Don't overwrite custom templates

Geert Janssens gjanssens at code.gnucash.org
Sat May 8 11:32:27 EDT 2010


Author: gjanssens
Date: 2010-05-08 11:32:27 -0400 (Sat, 08 May 2010)
New Revision: 19143
Trac: http://svn.gnucash.org/trac/changeset/19143

Modified:
   htdocs/trunk/Makefile
Log:
Don't overwrite custom templates

Modified: htdocs/trunk/Makefile
===================================================================
--- htdocs/trunk/Makefile	2010-05-08 15:15:40 UTC (rev 19142)
+++ htdocs/trunk/Makefile	2010-05-08 15:32:27 UTC (rev 19143)
@@ -1,6 +1,8 @@
-languages = de es fr it ja nb nl pl pt_PT zh_CN
+languages = de es fr it nb nl pl pt_PT zh_CN
+languages_with_template = ja
+all_languages = ${languages} ${languages_with_template}
 
-.PHONY: pot mos msgmerge ${languages} nmz nmz.lang nmz nmz.onefile
+.PHONY: pot mos msgmerge ${all_languages} nmz nmz.lang nmz nmz.onefile
 
 pot: po/POTFILES po/gnucash-htdocs.pot
 
@@ -13,11 +15,11 @@
 	xgettext -f po/POTFILES -L PHP -o po/gnucash-htdocs.pot
 
 msgmerge: po/gnucash-htdocs.pot
-	for f in ${languages} ; do \
+	for f in ${all_languages} ; do \
 	  msgmerge -U po/$$f.po po/gnucash-htdocs.pot ; \
 	done
 
-mos: ${languages} 
+mos: ${all_languages} 
 de: po/de.po
 	msgfmt po/de.po -o de/LC_MESSAGES/gnucash-htdocs.mo
 



More information about the gnucash-changes mailing list