X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/51d4c36b227d9bec03a5bf9e049aabd80ad5cb60..41633d4d1ab4b724ada322771bb8396735825c6b:/debian/rules diff --git a/debian/rules b/debian/rules index 028189f8..9c783b7e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,12 @@ #! /usr/bin/make -f - -DH_OPTIONS = --parallel --without=autoreconf -Bdebian/build +DH_OPTIONS = --parallel -Bdebian/build %:; dh $@ $(DH_OPTIONS) -override_dh_auto_install: - dh_auto_install $(addprefix -O,$(DH_OPTIONS)) - rm -f debian/cfd/usr/share/info/dir +## 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)) + +## Check that the shared-library symbols are plausible. +override_dh_makeshlibs: + dh_makeshlibs -- -c4