1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--sbindir=/usr/sbin \
--disable-static \
--disable-dependency-tracking \
--enable-pie \
--enable-now \
--enable-systemd \
--enable-xml-docs \
--enable-compat-dtd \
--with-selinux-acls \
--with-selinux-labels \
--without-python
override_dh_install:
# purge .la files
find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \;
dh_install
|