File: rules

package info (click to toggle)
golang-github-brentp-irelate 0.0.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 12,624 kB
  • sloc: makefile: 10; python: 5; sh: 4
file content (16 lines) | stat: -rwxr-xr-x 560 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DH_GOLANG_INSTALL_EXTRA := data $(wildcard debian/missing-sources/*)

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

override_dh_auto_configure:
	# The DH_GOLANG_INSTALL_EXTRA is configured during dh_auto_configure, hence generating the needed generated files at this step
	echo 'Generating corresponding files ...'
	cat debian/missing-sources/ex.sam| samtools view -Sb - > data/ex.bam
	samtools index data/ex.bam data/ex.bam.bai
	dh_auto_configure

override_dh_auto_install:
	dh_auto_install -- --no-binaries