File: rules

package info (click to toggle)
phylonium 1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 44,292 kB
  • sloc: cpp: 15,672; ansic: 782; makefile: 139; python: 66; sh: 41
file content (27 lines) | stat: -rwxr-xr-x 708 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk
# DH_VERBOSE := 1
include /usr/share/dpkg/pkg-info.mk

IS_EMPTY_ON_NONX86 = $(filter amd64 i386,$(DEB_HOST_ARCH_CPU))
ifeq (,$(IS_EMPTY_ON_NONX86))
CONFIGURE_FLAGS=--disable-x86simd
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

DESTDIR=..
VERSION=`echo ${DEB_VERSION} | sed 's/\-.*//'`
get-debian-test-data:
	echo ${DESTDIR}
	echo ${VERSION}
	wget https://github.com/EvolBioInf/life2015/raw/gh-pages/eco29.fasta.gz
	mv eco29.fasta.gz ${DESTDIR}
	tar -czvf `pwd`/${DESTDIR}/phylonium_${VERSION}.orig-debian-tests-data.tar.gz  `pwd`/${DESTDIR}/eco29.fasta.gz