File: rules

package info (click to toggle)
pbsuite 15.8.24%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,508 kB
  • sloc: python: 10,988; sh: 152; xml: 21; makefile: 14
file content (25 lines) | stat: -rwxr-xr-x 412 bytes parent folder | download
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
#!/usr/bin/make -f

#DH_VERBOSE = 1

#include /usr/share/dpkg/default.mk

exclude = sam2bam sortChunks.sh

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	python3 -m compileall pbsuite

override_dh_auto_clean:
	dh_auto_clean
	find -name "*.pyc" -delete

override_dh_install:
	dh_install $(foreach file,$(exclude),-X$(file))

override_dh_fixperms:
	dh_fixperms
	find debian/ -name Valid.py -exec chmod -x {} +