systemd/debian/rules
Tollef Fog Heen 864482d672 Add ifup@.service for handling hotplugged interfaces from udev.
Closes: #610871

Thanks to Michael Biebl for the implementation
2011-03-02 21:03:53 +01:00

31 lines
893 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_install debian/ifup@.service /lib/systemd/system
%:
dh $@ --parallel --with autoreconf