| 1 |
|
| 2 |
|
| 3 |
export LC_ALL=C.UTF-8 |
| 4 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 5 |
|
| 6 |
export DEB_CXXFLAGS_MAINT_APPEND = -std=c++17 |
| 7 |
|
| 8 |
|
| 9 |
ifneq (,$(filter $(DEB_HOST_ARCH),i386)) |
| 10 |
export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store |
| 11 |
endif |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ |
| 15 |
|
| 16 |
override_dh_auto_test: |
| 17 |
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 18 |
dh_auto_test --no-parallel |
| 19 |
endif |
| 20 |
|
| 21 |
EXAMPLES = $(CURDIR)/debian/ivar/usr/share/doc/ivar/examples/data |
| 22 |
execute_before_dh_fixperms: |
| 23 |
if [ -x $(EXAMPLES)/primer_pair_test/test_primer_pair.bed ] \ |
| 24 |
; then chmod -v -x $(EXAMPLES)/primer_pair_test/test_primer_pair.bed \ |
| 25 |
; fi |