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 DEB_BUILD_MAINT_OPTIONS = optimize=+lto
include /usr/share/dpkg/buildtools.mk
%:
dh $@ --without=autoreconf
override_dh_auto_configure:
# Strip the following unused file from the tree to prevent it from being
# used as the license is incompatible with lib/util/getoptx.*
rm -fv tools/turbocharger/mod_gzip.c
dh_auto_configure -- \
--disable-libwww-client \
--disable-wininet-client
override_dh_auto_build:
dh_auto_build -- 'CC_FOR_BUILD=$(CC_FOR_BUILD)'
dh_auto_build --sourcedirectory=tools
override_dh_auto_clean:
# Add here commands to clean up after the build process.
# xxx upstream build process still breaks on distclean...
[ ! -f Makefile ] || [ ! -f config.status ] || dh_auto_clean || true
override_dh_compress:
dh_compress -Xusr/share/doc/libxmlrpc-core-c3-dev/examples/
|