systemd/debian/rules
2010-11-20 09:38:44 +01:00

21 lines
739 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 --with-gtk
override_dh_install:
rm debian/tmp/usr/share/doc/systemd/LICENSE
rm debian/tmp/lib/security/pam_systemd.la
rm debian/tmp/lib/systemd/system/shutdown.target.wants/hwclock-save.service
rm debian/tmp/lib/systemd/system/local-fs.target.wants/remount-rootfs.service
dh_install -O--parallel --fail-missing
dh_install -plibpam-systemd debian/pam-configs /usr/share
sed -i 's/#\(Mount\|Swap\)Auto=yes/\1Auto=no/' debian/systemd/etc/systemd/system.conf
find ./debian/systemd/lib -name tmpwatch.\* -delete
%:
dh --parallel --with autoreconf $@