systemd/debian/rules
2011-02-16 21:13:23 +01:00

30 lines
840 B
Makefile
Executable File

#! /usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS="nostrip"
override_dh_auto_configure:
dh_auto_configure -- --with-rootdir= \
--with-udevrulesdir=/lib/udev/rules.d \
--enable-gtk \
--enable-libcryptsetup
override_dh_auto_clean:
dh_auto_clean
rm -f man/*.[1358]
rm -f src/systemadm.c
rm -f src/gnome-ask-password-agent.c
rm -f src/systemd-interfaces.c
override_dh_install:
rm debian/tmp/usr/share/doc/systemd/LICENSE
rm debian/tmp/lib/security/pam_systemd.la
# udev already triggers hwclock during boot
rm debian/tmp/etc/systemd/system/sysinit.target.wants/hwclock-load.service
rm debian/tmp/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service
dh_install -O--parallel --fail-missing
dh_install -plibpam-systemd debian/pam-configs /usr/share
%:
dh $@ --parallel --with autoreconf