File: rules

package info (click to toggle)
seqkit 0.15.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 67,984 kB
  • sloc: sh: 928; perl: 114; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 820 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
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

include /usr/share/dpkg/default.mk
%:
	dh $@ --buildsystem=golang --with=golang --builddirectory=build # --sourcedirectory=seqkit

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_installdocs:
	# Regenerate bam and bam index files
	cat debian/missing-sources/pcs109_5k_prim.sam | samtools view -Sb - > tests/pcs109_5k_prim.bam
	cat debian/missing-sources/pcs109_5k.sam | samtools view -Sb - > tests/pcs109_5k.bam
	cat debian/missing-sources/pcs109_5k_spliced.sam | samtools view -Sb - > tests/pcs109_5k_spliced.bam
	samtools index tests/pcs109_5k_prim.bam tests/pcs109_5k_prim.bam.bai
	samtools index tests/pcs109_5k.bam tests/pcs109_5k.bam.bai
	samtools index tests/pcs109_5k_spliced.bam tests/pcs109_5k_spliced.bam.bai
	dh_installdocs