diff options
author | Wu Xiaotian <[email protected]> | 2019-10-15 14:11:46 +0800 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-10-29 09:18:58 -0400 |
commit | bce4817d3c2ddc150582db8451f3d92a5a2df5da (patch) | |
tree | 32e184c11e7b49ba3aaff5b3c851cb1837bb7bb8 /data/Makefile.am | |
parent | 64b09837c0e3eea6e4f546fc3d2718e4c52bfdde (diff) | |
download | mate-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.am | 13 |
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) |