Print this page
6945 illumos xgettext should be using from Makefile.master
@@ -27,11 +27,12 @@
#
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
#
-XGETTEXT=xgettext
+XGETTEXT=${XGETTEXT:-xgettext}
+GETTEXT=${GETTEXT:-gettext}
MSGDIR=$1
#
# Change Directory
#
@@ -39,11 +40,11 @@
rm -f *.po
#
# get list of files
#
-FILES=`grep gettext *.c | sed "s/:.*//" | sort | sed "s/\.c//" | uniq`
+FILES=`grep ${GETTEXT} *.c | sed "s/:.*//" | sort | sed "s/\.c//" | uniq`
#
# Create po files
# No need for options for xgettext