File: rules

package info (click to toggle)
pbsuite 15.8.24+dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,512 kB
  • sloc: python: 10,962; sh: 147; xml: 21; makefile: 14
file content (25 lines) | stat: -rwxr-xr-x 426 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
22
23
24
25
#!/usr/bin/make -f

#DH_VERBOSE = 1

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

exclude = sam2bam sortChunks.sh

%:
	dh $@ --with python2

override_dh_auto_build:
	dh_auto_build
	python -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 {} +