From d9dc7f9fd4130e4a5a58b97fe62c2997f9457df2 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 26 Mar 2014 13:31:49 +0900 Subject: [PATCH] autopoint: Allow user to specify gettext_dir through envvar --- gettext-tools/misc/ChangeLog | 6 ++++++ gettext-tools/misc/autopoint.in | 2 +- gettext-tools/misc/gettextize.in | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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. -- 2.47.2