1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
export DESTDIR=$(CURDIR)/debian/tmp
export gt_prefix=/usr
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DARCH:=$(shell dpkg-architecture | fgrep DEB_TARGET_ARCH= | cut -f 2 -d'=')
BITS:=$(shell dpkg-architecture | fgrep DEB_TARGET_ARCH_BITS= | cut -f 2 -d'=')
ifeq ($(DARCH),x32)
X32:=yes
else
X32:=no
endif
ifeq ($(BITS),64)
64BIT:=yes
else
64BIT:=no
endif
%:
dh $@
override_dh_auto_clean:
$(MAKE) cleanup
override_dh_auto_build:
dh_auto_build -- x32=$(X32) 64bit=$(64BIT) errorcheck=no
override_dh_auto_test:
#dh_auto_test -- useshared=yes x32=$(X32) 64bit=$(64BIT) testthreads=5
override_dh_auto_install:
gunzip sample_data/dmel-2L-chromosome-r5.8.fasta.gz
gzip -n -9 sample_data/dmel-2L-chromosome-r5.8.fasta
dh_auto_install -- 64bit=$(64BIT) errorcheck=no prefix=$(DESTDIR)/usr
override_dh_installdocs:
dh_installdocs --exclude=license.template
|