summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-15 19:04:00 +0800
committerraveit65 <[email protected]>2019-07-01 12:53:07 +0200
commit21770a3057ad62d692787d19e9e23d4350076d4d (patch)
tree900d4e7f88b0a23e7cb24210aa14485374586940 /src/Makefile.am
parent412abbbe7bacf7dfc11633a9680d268c06e56e30 (diff)
downloadcaja-21770a3057ad62d692787d19e9e23d4350076d4d.tar.bz2
caja-21770a3057ad62d692787d19e9e23d4350076d4d.tar.xz
migrate intltool to gettext
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 06bd831d..0f917ea4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,6 +19,7 @@ AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DCAJA_DATADIR=\""$(datadir)/caja"\" \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
-DUIDIR=\""$(datadir)/caja/ui"\" \
-DCAJA_PIXMAPDIR=\""$(datadir)/pixmaps/caja"\" \
-DPREFIX=\""$(prefix)"\" \
@@ -50,12 +51,13 @@ $(dbus_freedesktop_built_sources) : Makefile.am $(top_srcdir)/data/freedesktop-d
$(top_srcdir)/data/freedesktop-dbus-interfaces.xml \
$(NULL)
-@INTLTOOL_DESKTOP_RULE@
-
desktop_in_files=mate-network-scheme.desktop.in
desktop_files=$(desktop_in_files:.desktop.in=.desktop)
desktopdir = $(datadir)/mate/network/
+$(desktop_files): $(desktop_in_files)
+ $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
schemedir = $(datadir)/applications
scheme_DATA = mate-network-scheme.desktop
@@ -206,8 +208,6 @@ if ENABLE_SELF_CHECK
TESTS=check-caja
endif
-@INTLTOOL_SERVER_RULE@
-
uidir = $(datadir)/caja/ui
ui_DATA = \
caja-shell-ui.xml \