summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2016-02-27 20:40:58 (GMT)
committerOlliver Schinagl <oliver@schinagl.nl>2016-03-18 20:42:52 (GMT)
commite6221575eaca0471436af92190542597fc1b8998 (patch)
tree71b0c2d385bb78bcc65b5fcfc3c558ddd7e5d863
parentd5839fcb883b6d8f4366084ebb32e6208b0ba005 (diff)
downloadengagement-e6221575eaca0471436af92190542597fc1b8998.zip
engagement-e6221575eaca0471436af92190542597fc1b8998.tar.gz
engagement-e6221575eaca0471436af92190542597fc1b8998.tar.bz2
Move gettext to a shared include directory
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
-rw-r--r--po/Makevars3
-rw-r--r--src/bin/Makefile.am1
-rw-r--r--src/include/gettext.h (renamed from src/bin/gettext.h)0
3 files changed, 3 insertions, 1 deletions
diff --git a/po/Makevars b/po/Makevars
index eb9c49e..a4611b2 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -8,7 +8,8 @@ subdir = po
top_builddir = ..
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --from-code=utf-8
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --keyword=Q_:1g --keyword=C_:1c,2 \
+ --keyword=NC_:1c,2 --from-code=utf-8
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
index e9244bc..05227a1 100644
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -5,6 +5,7 @@ bin_PROGRAMS = engagement
AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-I$(top_builddir)/src/bin/ \
-I$(top_srcdir)/src/bin/ \
+-I$(top_srcdir)/src/include/ \
-I$(top_builddir)/src/lib/ \
-I$(top_srcdir)/src/lib/ \
@EFL_CFLAGS@
diff --git a/src/bin/gettext.h b/src/include/gettext.h
index 94055ed..94055ed 100644
--- a/src/bin/gettext.h
+++ b/src/include/gettext.h