[atomix] Move its rules and specify them for gettext
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atomix] Move its rules and specify them for gettext
- Date: Wed, 7 Mar 2018 17:47:14 +0000 (UTC)
commit 4912b75d6c689028fa77e23ccce1ffc4c471fd41
Author: Robert Roth <robert roth off gmail com>
Date: Wed Mar 7 19:46:52 2018 +0200
Move its rules and specify them for gettext
configure.ac | 1 +
data/Makefile.am | 2 +-
data/its/Makefile.am | 1 +
data/{level => its}/level.its | 0
data/{level => its}/level.loc | 0
po/Makevars | 4 +++-
6 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 66ab65f..c1135ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,7 @@ data/icons/hicolor/Makefile
data/themes/Makefile
data/themes/default/Makefile
data/level/Makefile
+data/its/Makefile
data/ui/Makefile
])
diff --git a/data/Makefile.am b/data/Makefile.am
index 2b3430c..29a459b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,6 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-SUBDIRS = level themes ui icons
+SUBDIRS = level themes ui icons its
logodir = $(pkgdatadir)
logo_DATA = atomix-logo.png
diff --git a/data/its/Makefile.am b/data/its/Makefile.am
new file mode 100644
index 0000000..4904cf9
--- /dev/null
+++ b/data/its/Makefile.am
@@ -0,0 +1 @@
+EXTRA_DIST = level.its level.loc
diff --git a/data/level/level.its b/data/its/level.its
similarity index 100%
rename from data/level/level.its
rename to data/its/level.its
diff --git a/data/level/level.loc b/data/its/level.loc
similarity index 100%
rename from data/level/level.loc
rename to data/its/level.loc
diff --git a/po/Makevars b/po/Makevars
index ba37602..5f10ebe 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -6,7 +6,9 @@ DOMAIN = $(PACKAGE)
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
-
+
+XGETTEXT := env GETTEXTDATADIRS="$(top_srcdir)/data/its" $(XGETTEXT)
+
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2
--keyword=g_dngettext:2,3 --add-comments
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]