From b5a202422d3a72cb4ee381bdedf8a3e741fc9f1e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 24 Nov 2017 22:55:44 -0500 Subject: gettextize build system --- 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() -- cgit v0.9.1