X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/6247b831dd0e3f9200025241ac93c14e5c1b2539..41633d4d1ab4b724ada322771bb8396735825c6b:/debian/rules diff --git a/debian/rules b/debian/rules index da79b9ed..9c783b7e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,12 @@ #! /usr/bin/make -f +DH_OPTIONS = --parallel -Bdebian/build +%:; dh $@ $(DH_OPTIONS) -CDBS = /usr/share/cdbs/1 -include $(CDBS)/rules/debhelper.mk -include $(CDBS)/class/autotools.mk +## 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)) -DEB_BUILDDIR = build +## Check that the shared-library symbols are plausible. +override_dh_makeshlibs: + dh_makeshlibs -- -c4