From f53c51136077f179d2736f4e8836ba2725e84abd Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 6 Jul 2017 11:15:05 +0100 Subject: [PATCH] debian/rules: Capture common options in a makefile variable. --- debian/rules | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index d93449af..a7ae1b01 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,8 @@ #! /usr/bin/make -f -%:; dh $@ --parallel -Bdebian/build +DH_OPTIONS = --parallel -Bdebian/build +%:; dh $@ $(DH_OPTIONS) ## Test both with and without CPU-specific optimizations. override_dh_auto_test: - dh_auto_test --parallel -Bdebian/build - CATACOMB_CPUFEAT="-*" dh_auto_test --parallel -Bdebian/build + dh_auto_test $(DH_OPTIONS) + CATACOMB_CPUFEAT="-*" dh_auto_test $(DH_OPTIONS) -- 2.11.0