aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore2
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh1
-rw-r--r--configure.ac5
-rw-r--r--po/POTFILES.in3
5 files changed, 11 insertions, 2 deletions
diff --git a/.bzrignore b/.bzrignore
index fd7ff188..ff979d0b 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -7,6 +7,8 @@
.libs
Makefile
Makefile.in
+Makefile.in.in
+POTFILES
autom4te.cache
build-aux
config.log
diff --git a/Makefile.am b/Makefile.am
index 35836b13..b19f3988 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,3 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = lib data
+SUBDIRS = po lib data
diff --git a/autogen.sh b/autogen.sh
index b509c24a..f0b676e1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,4 +2,5 @@
mkdir -p m4
autoreconf -i
+glib-gettextize -c -f
test -n "$NOCONFIGURE" || ./configure "$@"
diff --git a/configure.ac b/configure.ac
index ff10aa29..18110c04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,8 @@ AC_ARG_WITH([indicator-dir], [AS_HELP_STRING([--with-indicator-dir=DIR], [Indica
AC_SUBST([DBUS_SERVICE_DIR], [$with_dbus_service_dir])
AC_SUBST([INDICATOR_DIR], [$with_indicator_dir])
+AM_GLIB_GNU_GETTEXT
+
GLIB_GSETTINGS
PKG_CHECK_MODULES([GTK], [gtk+-3.0])
@@ -55,6 +57,7 @@ AC_SUBST([IBUS_LIBS])
AC_CONFIG_FILES([Makefile
data/Makefile
- lib/Makefile])
+ lib/Makefile
+ po/Makefile.in])
AC_OUTPUT
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 00000000..dced8247
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,3 @@
+# List of source files which contain translatable strings.
+
+lib/main.vala