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