File: rules

package info (click to toggle)
golang-github-shenwei356-bio 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 788 kB
  • sloc: perl: 114; sh: 58; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 518 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cp seqio/fastx/test*.f* seqio/fastx/*.fx _build/src/github.com/shenwei356/bio/seqio/fastx
	cp seqio/fai/seq.fa* _build/src/github.com/shenwei356/bio/seqio/fai
	cp featio/gtf/test*.gtf _build/src/github.com/shenwei356/bio/featio/gtf
	dh_auto_test
endif

override_dh_install:
	dh_install
	find debian \( -name "*.go" -o -name "*.fa" \) -exec chmod -x \{\} \;