diff options
author | Wu Xiaotian <[email protected]> | 2019-11-11 11:53:25 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-11-16 12:55:34 +0100 |
commit | bf09823fab35beee18936d570a50db6466d92d0f (patch) | |
tree | c8695b88615bd1b89ab1c60e47796f5e88626162 /Makefile.am | |
parent | 2319fc2415ffa15702cbcadd4839f3c7b39252ad (diff) | |
download | mate-terminal-bf09823fab35beee18936d570a50db6466d92d0f.tar.bz2 mate-terminal-bf09823fab35beee18936d570a50db6466d92d0f.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 337d665..6022fc4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = src po help +SUBDIRS = po src help ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} @@ -9,15 +9,17 @@ DISTCHECK_CONFIGURE_FLAGS = \ --disable-silent-rules \ CFLAGS='-Wno-deprecated-declarations' -@INTLTOOL_XML_RULE@ appdatadir = $(datadir)/metainfo appdata_in_files = mate-terminal.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 $@ desktopdir = $(datadir)/applications -desktop_in_files = @[email protected] +desktop_in_files = mate-terminal.desktop.in.in desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop) -@INTLTOOL_DESKTOP_RULE@ +$(desktop_DATA): $(desktop_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ man_MANS = mate-terminal.1 |