X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/f3f9e1bbf0f94f4add7f8016bc6cc5a031c5ebac..a889a2b3fd8065bc610a0db330b1b63820e4d3c9:/debian/rules diff --git a/debian/rules b/debian/rules index 88179629..9c783b7e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,2 +1,12 @@ #! /usr/bin/make -f -%:; dh $@ --builddirectory=debian/build +DH_OPTIONS = --parallel -Bdebian/build +%:; dh $@ $(DH_OPTIONS) + +## 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