~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/pgen.c, math/pgen-simul.c: Add Baillie--PSW testers.
[catacomb]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
269f851
..
9c783b7
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,9
+1,12
@@
#! /usr/bin/make -f
#! /usr/bin/make -f
+DH_OPTIONS = --parallel -Bdebian/build
+%:; dh $@ $(DH_OPTIONS)
-BUILDDIR = debian/build
+## 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))
-%:; dh $@ --builddirectory=$(BUILDDIR)
-
-override_dh_auto_install:
- make -C$(BUILDDIR) install DESTDIR=../cfd/
- rm -f debian/cfd/usr/share/info/dir
+## Check that the shared-library symbols are plausible.
+override_dh_makeshlibs:
+ dh_makeshlibs -- -c4