File: rules

package info (click to toggle)
lumpy-sv 0.3.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 296,072 kB
  • sloc: cpp: 9,908; python: 1,768; sh: 1,384; makefile: 365; ansic: 322; perl: 58
file content (26 lines) | stat: -rwxr-xr-x 708 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

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

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --with python3

### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
#override_dh_auto_test:
#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
#	do_stuff_for_testing
#endif

override_dh_install:
	cat debian/missing-sources/pe.pos_sorted.sam |samtools view -Sb - > data/pe.pos_sorted.bam
	cat debian/missing-sources/sr.pos_sorted.sam |samtools view -Sb - > data/sr.pos_sorted.bam
	dh_install
	rm -f debian/$(DEB_SOURCE)*/usr/share/$(DEB_SOURCE)/scripts/lumpyexpress.config

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3