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
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDTOOLS=1
-include /usr/share/dpkg/buildtools.mk
PREFIX=/usr
%:
dh $@ --without autoreconf
override_dh_auto_configure:
# There is no --runstatedir=/run in configure, so we do it manually here.
./configure --build=${DEB_BUILD_GNU_TYPE} \
--host=${DEB_HOST_GNU_TYPE} \
--prefix=${PREFIX} \
--includedir=${PREFIX}/include \
--mandir=${PREFIX}/share/man \
--infodir=${prefix}/share/info \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-silent-rules \
--libdir=${PREFIX}/lib/${DEB_HOST_MULTIARCH} \
--disable-maintainer-mode \
--disable-dependency-tracking
|