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

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


Author: neteler
Date: 2010-08-21 08:04:54 +0000 (Sat, 21 Aug 2010)
New Revision: 43173

Modified:
   grass/branches/releasebranch_6_4/locale/Makefile
Log:
glynn: trap uncompiled GRASS

Modified: grass/branches/releasebranch_6_4/locale/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/locale/Makefile	2010-08-20 23:00:26 UTC (rev 43172)
+++ grass/branches/releasebranch_6_4/locale/Makefile	2010-08-21 08:04:54 UTC (rev 43173)
@@ -39,6 +39,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