summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am11
-rw-r--r--src/polkit-mate-authentication-agent-1.desktop.in.in4
2 files changed, 8 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 93f17f9..ac2131d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,15 +2,17 @@
FULL_LIBEXECDIR=$(libexecdir)
desktopdir = $(sysconfdir)/xdg/autostart
-desktop_DATA = polkit-mate-authentication-agent-1.desktop
-
-@INTLTOOL_DESKTOP_RULE@
+desktop_in_files = polkit-mate-authentication-agent-1.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
polkit-mate-authentication-agent-1.desktop.in : polkit-mate-authentication-agent-1.desktop.in.in Makefile
$(AM_V_GEN)sed \
-e "s|\@FULL_LIBEXECDIR\@|$(FULL_LIBEXECDIR)|" \
$< > $@
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
libexec_PROGRAMS = polkit-mate-authentication-agent-1
polkit_mate_authentication_agent_1_SOURCES = \
@@ -45,8 +47,7 @@ polkit_mate_authentication_agent_1_LDADD = \
$(GLIB_LIBS) \
$(POLKIT_AGENT_LIBS) \
$(POLKIT_GOBJECT_LIBS) \
- $(APPINDICATOR_LIBS) \
- $(INTLLIBS)
+ $(APPINDICATOR_LIBS)
EXTRA_DIST = \
polkit-mate-authentication-agent-1.desktop.in \
diff --git a/src/polkit-mate-authentication-agent-1.desktop.in.in b/src/polkit-mate-authentication-agent-1.desktop.in.in
index 3685932..da1129a 100644
--- a/src/polkit-mate-authentication-agent-1.desktop.in.in
+++ b/src/polkit-mate-authentication-agent-1.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=PolicyKit Authentication Agent
-_Comment=PolicyKit Authentication Agent for the MATE Desktop
+Name=PolicyKit Authentication Agent
+Comment=PolicyKit Authentication Agent for the MATE Desktop
Exec=@FULL_LIBEXECDIR@/polkit-mate-authentication-agent-1
Terminal=false
Type=Application