summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-07 14:25:02 +0100
committerinfirit <[email protected]>2014-11-07 14:52:04 +0100
commit5e41f9d7426bfc388a8785f4e3804ae468015073 (patch)
treee37096a4dac94e290bda5bc8a4e5069a1250c8a7 /tools/Makefile.am
parent1deaea538427f2dc9d3afdc37b9daf57c15a46cd (diff)
downloadmate-session-manager-5e41f9d7426bfc388a8785f4e3804ae468015073.tar.bz2
mate-session-manager-5e41f9d7426bfc388a8785f4e3804ae468015073.tar.xz
Add a commandline wrapper to inhibit idle
Based on gnome-commit: fcdbf2b36b184f10239ac7a81cb3c88b4c5ed477 From: Matthias Clasen <[email protected]>
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r--tools/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 4e3ba0f..a7c42c0 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,4 +1,4 @@
-bin_PROGRAMS = mate-session-save
+bin_PROGRAMS = mate-session-save mate-session-inhibit
AM_CPPFLAGS = \
$(MATE_SESSION_CFLAGS) \
@@ -19,4 +19,16 @@ mate_session_save_LDADD = \
$(DBUS_GLIB_LIBS) \
$(MATECONF_LIBS)
+mate_session_inhibit_SOURCES = \
+ mate-session-inhibit.c
+
+mate_session_inhibit_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ $(MATE_SESSION_CFLAGS) \
+ -DLOCALE_DIR=\""$(datadir)/locale"\" \
+ $(DISABLE_DEPRECATED_CFLAGS)
+
+mate_session_inhibit_LDADD = \
+ $(MATE_SESSION_LIBS)
+
-include $(top_srcdir)/git.mk