summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh1
-rw-r--r--configure.ac4
3 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 59bc4f4..3d32aab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -68,4 +68,4 @@ version.c: $(marquee_OBJECTS) $(marquee_DEPENDENCIES)
include $(top_srcdir)/src/local.mk
-SUBDIRS = . data
+SUBDIRS = . data po
diff --git a/autogen.sh b/autogen.sh
index 07c3ad8..7bc4fc3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -23,6 +23,7 @@ EOF
autoconf
autoheader
automake --add-missing --copy
+ glib-gettextize --copy --force
)}
"${srcdir}/configure" "${@}"
diff --git a/configure.ac b/configure.ac
index f0bc2ca..63e5ce1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,8 @@ AM_SILENT_RULES([yes])
AM_CONDITIONAL([IN_GIT],
[test -d "${srcdir}/.git" && command -v git >/dev/null 2>&1])
+AM_GLIB_GNU_GETTEXT()
+
AC_PROG_CC()
AM_PROG_CC_C_O()
AC_PROG_LN_S()
@@ -127,6 +129,6 @@ else
[Define to 1 to run executable in place from build directory.])
fi
-AC_CONFIG_FILES([Makefile data/Makefile])
+AC_CONFIG_FILES([Makefile data/Makefile po/Makefile.in])
AC_CONFIG_HEADERS([config.h])
AC_OUTPUT()