summaryrefslogtreecommitdiff
path: root/desktop/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-08 18:20:53 +0800
committerraveit65 <[email protected]>2019-05-10 10:55:29 +0200
commitb343e7dd32af083bdb0e7e2bb0989ca267a8f5ff (patch)
tree642d4bf92f806d2d3f2da8bf40157342e52c06ac /desktop/Makefile.am
parentaba0d15a199f18f1e700a5c36b95c5504efdce27 (diff)
downloadmate-backgrounds-b343e7dd32af083bdb0e7e2bb0989ca267a8f5ff.tar.bz2
mate-backgrounds-b343e7dd32af083bdb0e7e2bb0989ca267a8f5ff.tar.xz
Migrate from intltool to gettext
Diffstat (limited to 'desktop/Makefile.am')
-rw-r--r--desktop/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/Makefile.am b/desktop/Makefile.am
index 104f7f2..1f9da2f 100644
--- a/desktop/Makefile.am
+++ b/desktop/Makefile.am
@@ -14,7 +14,9 @@ background_DATA = \
metadata_in_files = mate-desktop.xml.in
metadatadir = $(datadir)/mate-background-properties
metadata_DATA = $(metadata_in_files:.xml.in=.xml)
+
+$(metadata_DATA): $(metadata_in_files)
+ $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o [email protected]
noinst_DATA = mate-desktop.xml.in
CLEANFILES = mate-desktop.xml mate-desktop.xml.in