summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2014-10-19 16:29:37 +0300
committerEric Koegel <eric.koegel@gmail.com>2014-10-19 16:29:37 +0300
commit4d6aa0cfc3e96cf2c77e4e1102e236fb1486a0dc (patch)
treee2031870432dcf8aa4eb4c3400411b6ebd4c6d1a /data
parent59b6a283909d1f4e7442bfdc2d520bc21dbfa1b9 (diff)
downloadConsoleKit2-4d6aa0cfc3e96cf2c77e4e1102e236fb1486a0dc.tar.gz
Install 90-consolekit script to xinitrc dir
This installs an Xsession.d script for ck-launch-session. By default the script is installed to /etc/X11/xinit/xinitrc.d but can be changed by a --with-xinitrc-dir configure switch.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 1ae250c..173df0e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -7,6 +7,7 @@ seatdir = $(sysconfdir)/ConsoleKit/seats.d
seat_DATA = 00-primary.seat
logdir = $(LOGROTATE_DIR)
+xinitrcdir = $(XINITRC_DIR)
if HAVE_POLKIT
polkit_policydir = $(datadir)/polkit-1/actions
@@ -75,6 +76,10 @@ edit = sed \
install-log:
$(INSTALL_PROGRAM) consolekit.logrotate $(logdir)
+install-xinitrc:
+ $(INSTALL_PROGRAM) 90-consolekit $(xinitrcdir) && \
+ chmod +x $(xinitrcdir)/90-consolekit
+
EXTRA_DIST = \
ck-log-system-restart \
ck-log-system-start \