summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-15 14:11:46 +0800
committerVictor Kareh <[email protected]>2019-10-29 09:18:58 -0400
commitbce4817d3c2ddc150582db8451f3d92a5a2df5da (patch)
tree32e184c11e7b49ba3aaff5b3c851cb1837bb7bb8 /data/Makefile.am
parent64b09837c0e3eea6e4f546fc3d2718e4c52bfdde (diff)
downloadmate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.bz2
mate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 46dff6a..942fd55 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,19 +9,21 @@ man_MANS = \
mate-screensaver-preferences.1 \
$(NULL)
-@INTLTOOL_DESKTOP_RULE@
-
desktopdir = $(datadir)/applications
desktop_in_files = mate-screensaver-preferences.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-@INTLTOOL_DIRECTORY_RULE@
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
directorydir = $(datadir)/desktop-directories
directory_in_files = \
- mate-screensaver.directory.in \
+ mate-screensaver.directory.desktop.in \
$(NULL)
-directory_DATA = $(directory_in_files:.directory.in=.directory)
+directory_DATA = $(directory_in_files:.directory.desktop.in=.directory)
+
+$(directory_DATA): $(directory_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
menudir = $(sysconfdir)/xdg/menus
menu_DATA = \
@@ -40,7 +42,6 @@ dbussessionservicedir = $(DBUS_SESSION_SERVICE_DIR)
dbussessionservice_DATA = org.mate.ScreenSaver.service
@GSETTINGS_RULES@
-@INTLTOOL_XML_NOMERGE_RULE@
gsettingsschema_in_files = org.mate.screensaver.gschema.xml.in
gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)