summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-24 22:55:44 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-24 22:55:44 (EST)
commitb5a202422d3a72cb4ee381bdedf8a3e741fc9f1e (patch)
treeb1f854a495055c9fcbb5414f101eba04dc5becd1
parent3c485c6535b350cc5e1ff2421107220f77ed3e5e (diff)
downloadmarquee-b5a202422d3a72cb4ee381bdedf8a3e741fc9f1e.zip
marquee-b5a202422d3a72cb4ee381bdedf8a3e741fc9f1e.tar.gz
marquee-b5a202422d3a72cb4ee381bdedf8a3e741fc9f1e.tar.bz2
gettextize build system
-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()