[GRASS-SVN] r43174 - grass/branches/develbranch_6/locale

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


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

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

Modified: grass/branches/develbranch_6/locale/Makefile
===================================================================
--- grass/branches/develbranch_6/locale/Makefile	2010-08-21 08:04:54 UTC (rev 43173)
+++ grass/branches/develbranch_6/locale/Makefile	2010-08-21 08:05:11 UTC (rev 43174)
@@ -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