summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-03-03 15:00:06 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-03-03 15:01:15 -0500
commit76c66ef2ed0cfe62d40b6bf02520281debee17a5 (patch)
treed7ab23928e9dd8fe62597d102e48ac6981a7fbb7
parent5751d4f66e6a95e46df11a603a9a770281ee7e9b (diff)
downloadgtk+-76c66ef2ed0cfe62d40b6bf02520281debee17a5.tar.gz
make-pot: Document variables
Damn-lies will have to use one of these to override the name of the generated file. Lets document them all, while I still remember this.
-rwxr-xr-xmake-pot11
1 files changed, 11 insertions, 0 deletions
diff --git a/make-pot b/make-pot
index 279cfaa15c..1abb5905e3 100755
--- a/make-pot
+++ b/make-pot
@@ -14,6 +14,17 @@
# ./make-pot properties
#
# to generate po-properties/gtk30-properties.pot.
+#
+# Various things can be passed in by environment variables, which
+# are heavily inspired by the variables used in po/Makefile.in.in:
+#
+# XGETTEXT - path of the xgettext binary
+# top_srcdir - the location of the GTK+ checkout
+# srcdir - the directory where POTFILES.in is located (defaults to
+# $top_srcdir/po or $top_srcdir/po-properties)
+# GETTEXT_PACKAGE - the gettext domain, used for naming the resulting
+# .pot file (defaults to gtk30 or gtk30-properties)
+# XGETTEXT_KEYWORDS - --keyword arguments to pass to xgettext
XGETTEXT="${XGETTEXT:-xgettext}"