~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/rules: Capture common options in a makefile variable.
[catacomb]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
e64e6b4
..
a7ae1b0
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,6
+1,8
@@
#! /usr/bin/make -f
#! /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:
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)