summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 3a4c6775e6b5c2fdf8af41aefbb3be264df6020a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir="\$$(prefix)/lib/ConsoleKit" \
		--enable-pam-module \
		--enable-docbook-docs \
		--with-pid-file=/var/run/console-kit-daemon.pid \
		--with-systemdsystemunitdir=/lib/systemd/system

override_dh_auto_install:
	dh_auto_install
	install -m 755 debian/pam-foreground-compat.ck debian/tmp/usr/lib/ConsoleKit/run-session.d/
	install -D -m 644 debian/libpam-ck-connector.pam-auth-update debian/tmp/usr/share/pam-configs/consolekit