summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2014-10-19 16:22:28 +0300
committerEric Koegel <eric.koegel@gmail.com>2014-10-19 16:22:28 +0300
commit59b6a283909d1f4e7442bfdc2d520bc21dbfa1b9 (patch)
tree32259cd443700db4d74d709196afd5c6a666c557 /data/Makefile.am
parent856b0ece700915bf989a6663fdddb89559cba820 (diff)
downloadConsoleKit2-59b6a283909d1f4e7442bfdc2d520bc21dbfa1b9.tar.gz
Fix make distcheck when installing log file
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c736c61..1ae250c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,8 +6,7 @@ dbusconf_DATA = ConsoleKit.conf
seatdir = $(sysconfdir)/ConsoleKit/seats.d
seat_DATA = 00-primary.seat
-logrotatedir = $(LOGROTATE_DIR)
-logrotate_DATA = consolekit.logrotate
+logdir = $(LOGROTATE_DIR)
if HAVE_POLKIT
polkit_policydir = $(datadir)/polkit-1/actions
@@ -72,19 +71,22 @@ edit = sed \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
-e 's|@CONSOLE_KIT_PID_FILE[@]|$(CONSOLE_KIT_PID_FILE)|g'
+
+install-log:
+ $(INSTALL_PROGRAM) consolekit.logrotate $(logdir)
+
EXTRA_DIST = \
ck-log-system-restart \
ck-log-system-start \
ck-log-system-stop \
$(dbusconf_DATA) \
$(seat_DATA) \
- $(logrotate_DATA) \
$(service_in_files) \
console-kit-daemon.service.in \
console-kit-log-system-start.service.in \
console-kit-log-system-stop.service.in \
console-kit-log-system-restart.service.in \
- 90consolekit \
+ 90-consolekit \
$(NULL)
MAINTAINERCLEANFILES = \