[GRASS-SVN] r43175 - grass/trunk/locale

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 21 04:05:30 EDT 2010


Author: neteler
Date: 2010-08-21 08:05:30 +0000 (Sat, 21 Aug 2010)
New Revision: 43175

Modified:
   grass/trunk/locale/Makefile
Log:
glynn: trap uncompiled GRASS

Modified: grass/trunk/locale/Makefile
===================================================================
--- grass/trunk/locale/Makefile	2010-08-21 08:05:11 UTC (rev 43174)
+++ grass/trunk/locale/Makefile	2010-08-21 08:05:30 UTC (rev 43175)
@@ -35,6 +35,10 @@
 #The xgettext utility is used to automate the creation of
 #portable message files (.po)
 pot:
+	if [ ! -f ../gui/wxpython/menustrings.py ] ; then \
+		echo "Build GRASS before running 'make pot'" >&2 ; \
+		exit 1 ; \
+	fi
 	@echo "Generating $(LIBDOMAIN)..."
 	xgettext -k_ -o ./templates/$(LIBDOMAIN).pot `$(LIB_POTFILES)`
 	@echo "Generating $(MODDOMAIN)..."



More information about the grass-commit mailing list