Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
3 export DEB_CXXFLAGS_MAINT_APPEND=-I/usr/include/fastahack
4
5 # testsuite assumes binaries to be tested are under build/
6 %:
7 dh $@ --buildsystem=meson --builddir=build
8
9 execute_before_dh_auto_configure:
10 cp -a debian/ext/* contrib/
11
12 override_dh_auto_test:
13 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
14 mkdir -p test/bash-tap/
15 ln -s -t test/bash-tap $(CURDIR)/debian/bash-tap/*
16 mkdir -p test/test-simple-bash
17 ln -s -t test/test-simple-bash $(CURDIR)/debian/test-simple-bash/*
18
19 dh_auto_test -- -v --timeout-multiplier 100
20 find . -name core -delete
21
22 rm -Rf test/bash-tap
23 rm -Rf test/test-simple-bash
24 endif