bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [PATCH 1/2] autopoint: Allow user to specify gettext_dir t


From: Daiki Ueno
Subject: [bug-gettext] [PATCH 1/2] autopoint: Allow user to specify gettext_dir through envvar
Date: Wed, 26 Mar 2014 16:17:29 +0900

---
 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 2e90d9b..308a8af 100644
--- a/gettext-tools/misc/ChangeLog
+++ b/gettext-tools/misc/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-26  Daiki Ueno  <address@hidden>
+
+       * autopoint.in: Allow user to specify the directory in which
+       archive belongs, through $gettext_dir envvar.
+       * gettextize.in: Likewise.
+
 2013-12-05  Daiki Ueno  <address@hidden>
 
        * autopoint.in (func_trace): Allow user to specify autom4te
diff --git a/gettext-tools/misc/autopoint.in b/gettext-tools/misc/autopoint.in
index 3b66417..68ec39c 100644
--- a/gettext-tools/misc/autopoint.in
+++ b/gettext-tools/misc/autopoint.in
@@ -28,7 +28,7 @@ address@hidden@
 # - 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 9abbf35..390c37e 100644
--- a/gettext-tools/misc/gettextize.in
+++ b/gettext-tools/misc/gettextize.in
@@ -28,7 +28,7 @@ address@hidden@
 # - 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.
-- 
1.8.4.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]