| 1 |
|
| 2 |
|
| 3 |
DH_VERBOSE := 1 |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 6 |
|
| 7 |
CMAKE_EXTRA_FLAGS += -DDEBIAN_BUILD=1 \ |
| 8 |
-DLINK=shared \ |
| 9 |
-DBUILD_FUNCTESTING=1 -DUSE_BAM=1 |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --no-parallel |
| 13 |
|
| 14 |
override_dh_auto_clean: |
| 15 |
dh_auto_clean |
| 16 |
rm -rf ext/bifrost/build ext/bifrost/tmp ext/bifrost/src/bifrost-build ext/bifrost/src/bifrost-stamp |
| 17 |
|
| 18 |
override_dh_auto_configure: |
| 19 |
dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) |
| 20 |
|
| 21 |
override_dh_auto_test: |
| 22 |
dh_auto_test || true |
| 23 |
cd test && PATH=$$(find ../obj-* -name src):$(PATH) HOME=$$(mktemp --directory) XDG_CACHE_HOME=$(mktemp --directory) snakemake --cores 1 || true |
| 24 |
rm -rf test/.snakemake test/bus_out test/quant_out/run_info.json test/transcripts.kidx.gz \ |
| 25 |
test/quant_out test/transcripts.kidx |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
find . -name 'core' -o -name 'core.[0-9]*' | xargs rm -f |