summaryrefslogtreecommitdiff
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-29 14:37:17 +0800
committerraveit65 <[email protected]>2019-11-13 10:03:32 +0100
commit1a7ae12d402b6f1dccd6b8dac44f38440f571ca5 (patch)
treebd7a214cf231a5be4d5d9c444b56c5dae646f8b7 /plugins/Makefile.am
parent6d3ccb0ec4222f9129e337337517845607e6fadd (diff)
downloadeom-1a7ae12d402b6f1dccd6b8dac44f38440f571ca5.tar.bz2
eom-1a7ae12d402b6f1dccd6b8dac44f38440f571ca5.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 6398011..bfc34c6 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -46,10 +46,11 @@ endif
# Generate plugin info files
-%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(AM_V_GEN)$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
plugins_DATA = $(plugins_in_files:.plugin.desktop.in=.plugin)
+$(plugins_DATA): $(plugins_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
DISTCLEANFILES = $(plugins_DATA)
CLEANFILES = $(plugins_DATA)