]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - Makefile.am
Add internationalisation with intltool and gettext
[people/ms/libloc.git] / Makefile.am
index 161f5d38458020abbdfb25966674ca1f53add68c..fc6f3135bb82f56ca69874a76bb123db5c57b94e 100644 (file)
@@ -3,6 +3,8 @@ CLEANFILES =
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 AM_MAKEFLAGS = --no-print-directory
 
+SUBDIRS = . po
+
 AM_CPPFLAGS = \
        -include $(top_builddir)/config.h \
        -DSYSCONFDIR=\""$(sysconfdir)"\" \
@@ -36,6 +38,12 @@ pkgconfigdir = $(libdir)/pkgconfig
 %: %.in Makefile
        $(SED_PROCESS)
 
+@INTLTOOL_POLICY_RULE@
+
+.PHONY: update-po
+update-po:
+       $(MAKE) -C po update-po
+
 EXTRA_DIST += \
        examples/python/create-database.py \
        examples/python/read-database.py