summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index fe960b73..3f276930 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -149,6 +149,15 @@ dist-hook:
./gitlog-to-changelog > ChangeLog
cp ChangeLog $(distdir)/ChangeLog
+# Update the list of translatable files in po/POTFILES.in.
+all-local:
+ find -name '*.c' -o -name '*.pl' -o -name '*.pm' | \
+ grep -v '/blib/' | \
+ grep -v '/capitests/' | \
+ grep -v '/examples/' | \
+ sort | \
+ sed 's,^\./,,' > $(srcdir)/po/POTFILES.in
+
# Pkgconfig.
pkgconfigdir = $(libdir)/pkgconfig