summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-08 10:33:58 +0800
committerraveit65 <[email protected]>2019-07-16 10:38:59 +0200
commit32ad7c31e092166b6f4be856559954bf0645b74c (patch)
treef459bddf80858071b304717b733bf29c3270cfe9 /Makefile.am
parentd4a181b3cac9d501a6e96be55a336c35240872f4 (diff)
downloadmate-user-guide-32ad7c31e092166b6f4be856559954bf0645b74c.tar.bz2
mate-user-guide-32ad7c31e092166b6f4be856559954bf0645b74c.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b0fede4..94e6e59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,10 +1,12 @@
-SUBDIRS = mate-user-guide po
+SUBDIRS = po mate-user-guide
-@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files = mate-user-guide.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
CLEANFILES = $(desktop_DATA)
EXTRA_DIST = \