From: Daiki Ueno Date: Wed, 26 Mar 2014 04:31:49 +0000 (+0900) Subject: autopoint: Allow user to specify gettext_dir through envvar X-Git-Tag: v0.19~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9dc7f9fd4130e4a5a58b97fe62c2997f9457df2;p=thirdparty%2Fgettext.git autopoint: Allow user to specify gettext_dir through envvar --- diff --git a/gettext-tools/misc/ChangeLog b/gettext-tools/misc/ChangeLog index 2e90d9bed..308a8af5b 100644 --- a/gettext-tools/misc/ChangeLog +++ b/gettext-tools/misc/ChangeLog @@ -1,3 +1,9 @@ +2014-03-26 Daiki Ueno + + * autopoint.in: Allow user to specify the directory in which + archive belongs, through $gettext_dir envvar. + * gettextize.in: Likewise. + 2013-12-05 Daiki Ueno * autopoint.in (func_trace): Allow user to specify autom4te diff --git a/gettext-tools/misc/autopoint.in b/gettext-tools/misc/autopoint.in index 3b664177b..68ec39c86 100644 --- a/gettext-tools/misc/autopoint.in +++ b/gettext-tools/misc/autopoint.in @@ -28,7 +28,7 @@ version=@VERSION@ # - gettext_dir directory where the sources are stored. prefix="@prefix@" datarootdir="@datarootdir@" -gettext_dir="@datadir@/gettext" +: ${gettext_dir="@datadir@/gettext"} # func_tmpdir # creates a temporary directory. diff --git a/gettext-tools/misc/gettextize.in b/gettext-tools/misc/gettextize.in index 9abbf354e..390c37e2d 100644 --- a/gettext-tools/misc/gettextize.in +++ b/gettext-tools/misc/gettextize.in @@ -28,7 +28,7 @@ version=@VERSION@ # - gettext_dir directory where the sources are stored. prefix="@prefix@" datarootdir="@datarootdir@" -gettext_dir="@datadir@/gettext" +: ${gettext_dir="@datadir@/gettext"} # func_tmpdir # creates a temporary directory.