X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/e34ec1c255cf9c31b322bafc4b396d067c4b558a..41633d4d1ab4b724ada322771bb8396735825c6b:/debian/rules diff --git a/debian/rules b/debian/rules index 0c0cde02..9c783b7e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,12 @@ #! /usr/bin/make -f +DH_OPTIONS = --parallel -Bdebian/build +%:; dh $@ $(DH_OPTIONS) -DH_OPTIONS = -Bdebian/build -%:; dh $@ $(DH_OPTIONS) --without autoreconf +## Test both with and without CPU-specific optimizations. +override_dh_auto_test: + dh_auto_test $(addprefix -O, $(DH_OPTIONS)) + CATACOMB_CPUFEAT="-*" dh_auto_test $(addprefix -O, $(DH_OPTIONS)) -override_dh_auto_install: - dh_auto_install $(addprefix -O,$(DH_OPTIONS)) - rm -f debian/cfd/usr/share/info/dir +## Check that the shared-library symbols are plausible. +override_dh_makeshlibs: + dh_makeshlibs -- -c4