summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-10 15:58:33 +0800
committerraveit65 <[email protected]>2019-05-16 08:36:40 +0200
commit3324c2850b96cb99efb0c90cbf37e563a17f6f7b (patch)
tree1495a363a4e3ff71f69bbec779923872dfef5b74 /src/Makefile.am
parent8f46993705947b1a12eac88c58a5d7b5942d3d5c (diff)
downloadmarco-3324c2850b96cb99efb0c90cbf37e563a17f6f7b.tar.bz2
marco-3324c2850b96cb99efb0c90cbf37e563a17f6f7b.tar.xz
Migrate from intltool to gettext
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6a5f8ed3..6d5c50f9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -159,7 +159,8 @@ testboxes_LDADD= @MARCO_LIBS@
testgradient_LDADD= @MARCO_LIBS@
testasyncgetprop_LDADD= @MARCO_LIBS@
-@INTLTOOL_DESKTOP_RULE@
+%.desktop: %.desktop.in
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
desktopfilesdir=$(datadir)/applications
desktopfiles_in_files=marco.desktop.in
@@ -174,8 +175,6 @@ wmproperties_DATA = $(wmproperties_files)
gsettings_SCHEMAS = org.mate.marco.gschema.xml
@GSETTINGS_RULES@
-@INTLTOOL_XML_NOMERGE_RULE@
-
xmldir = @MATE_KEYBINDINGS_KEYSDIR@
xml_in_files = \
50-marco-desktop-key.xml.in \
@@ -183,6 +182,9 @@ xml_in_files = \
50-marco-global-key.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
+%.xml: %.xml.in
+ $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+
BUILT_SOURCES =
CLEANFILES = \
marco.desktop \