summaryrefslogtreecommitdiff
path: root/baobab/data/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-12-25 10:30:02 +0800
committerraveit65 <[email protected]>2019-12-28 11:52:39 +0100
commit6364c09edc1f888d5596bb93086189f431776874 (patch)
treea14029472830f23818df35bca4140f17abcce155 /baobab/data/Makefile.am
parent0568d8eeb506deff95f100b4ba55508b74e44542 (diff)
downloadmate-utils-6364c09edc1f888d5596bb93086189f431776874.tar.bz2
mate-utils-6364c09edc1f888d5596bb93086189f431776874.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'baobab/data/Makefile.am')
-rw-r--r--baobab/data/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am
index 4fd73c37..ea1b3914 100644
--- a/baobab/data/Makefile.am
+++ b/baobab/data/Makefile.am
@@ -5,13 +5,14 @@ baobabapp_DATA = $(baobabapp_in_files:.desktop.in=.desktop)
$(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in)
sed -e "s|\@VERSION\@|@VERSION@|" $< > $@
-@INTLTOOL_DESKTOP_RULE@
+$(baobabapp_DATA): $(baobabapp_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
-
-@INTLTOOL_XML_RULE@
appdatadir = $(datadir)/metainfo
appdata_in_files = mate-disk-usage-analyzer.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+$(appdata_DATA): $(appdata_in_files)
+ $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
gsettings_SCHEMAS = org.mate.disk-usage-analyzer.gschema.xml
@GSETTINGS_RULES@