summaryrefslogtreecommitdiff
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 c80096d..1063365 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -85,3 +85,12 @@ ChangeLog:
$(CHANGELOG_CMD)
dist-hook: ChangeLog INSTALL
+
+if USE_GETTEXT
+noinst_DATA = xload.po
+
+xload.po: $(xload_SOURCES:%=$(srcdir)/%)
+ $(AM_V_GEN)xgettext -d xload -n $(xload_SOURCES:%=$(srcdir)/%)
+
+CLEANFILES += xload.po
+endif