[gspell] build: use GSPELL_API_VERSION in po/
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] build: use GSPELL_API_VERSION in po/
- Date: Sun, 13 Mar 2016 08:54:34 +0000 (UTC)
commit a9b3e03686ea26151e7577270a7ea16a46dd2a5b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Mar 13 09:34:57 2016 +0100
build: use GSPELL_API_VERSION in po/
Makefile.am | 10 ++++++++--
configure.ac | 1 +
po/{Makevars => Makevars.in} | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index fc58994..ef04bd2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,14 @@
SUBDIRS = gspell po docs tests testsuite
pkgconfig_DATA = gspell-$(GSPELL_API_VERSION).pc
-DISTCLEANFILES = $(pkgconfig_DATA)
-EXTRA_DIST = gspell.pc.in
+
+EXTRA_DIST = \
+ gspell.pc.in \
+ po/Makevars.in
+
+DISTCLEANFILES = \
+ $(pkgconfig_DATA) \
+ po/Makevars
MAINTAINERCLEANFILES = \
ABOUT-NLS \
diff --git a/configure.ac b/configure.ac
index e7f980d..5d9db07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -209,6 +209,7 @@ AC_CONFIG_FILES([
gspell/Makefile
gspell/resources/Makefile
po/Makefile.in
+ po/Makevars
tests/Makefile
testsuite/Makefile
])
diff --git a/po/Makevars b/po/Makevars.in
similarity index 98%
rename from po/Makevars
rename to po/Makevars.in
index c8feb08..3469d92 100644
--- a/po/Makevars
+++ b/po/Makevars.in
@@ -1,7 +1,7 @@
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
-DOMAIN = gspell-1
+DOMAIN = gspell- GSPELL_API_VERSION@
# These two variables depend on the location of this directory.
subdir = po
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]