[GRASS-SVN] r46138 - grass/branches/releasebranch_6_4/locale

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 30 06:09:15 EDT 2011


Author: neteler
Date: 2011-04-30 03:09:15 -0700 (Sat, 30 Apr 2011)
New Revision: 46138

Modified:
   grass/branches/releasebranch_6_4/locale/Makefile
Log:
add msg verify target

Modified: grass/branches/releasebranch_6_4/locale/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/locale/Makefile	2011-04-28 22:01:38 UTC (rev 46137)
+++ grass/branches/releasebranch_6_4/locale/Makefile	2011-04-30 10:09:15 UTC (rev 46138)
@@ -80,6 +80,12 @@
 		done
 	@echo "Be careful with SVN commits as .po file updates must be syncronized with the individual translators."
 
+verify:
+	@cd ./po/ ; for po in `ls *_*.po 2>/dev/null` ; do \
+	msgfmt -c $$po; \
+	echo ""; \
+	done
+
 libs_FILES := $(patsubst po/grasslibs_%.po,$(MO_DIR)/%/LC_MESSAGES/grasslibs.mo,$(wildcard po/grasslibs_*.po)) 
 $(MO_DIR)/%/LC_MESSAGES/grasslibs.mo: po/grasslibs_%.po 
 	@ [ -d $(MO_DIR)/$*/LC_MESSAGES ] || $(MKDIR) $(MO_DIR)/$*/LC_MESSAGES 



More information about the grass-commit mailing list