File: rules

package info (click to toggle)
bamkit 0.0.1%2Bgit20170413.ccd079d-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 232 kB
  • sloc: python: 1,470; sh: 51; makefile: 11
file content (24 lines) | stat: -rwxr-xr-x 547 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
#!/usr/bin/make -f

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

include /usr/share/dpkg/default.mk

%:
	dh $@ --with python3

override_dh_link:
	dh_link
	for py in debian/$(DEB_SOURCE)/usr/share/$(DEB_SOURCE)/*.py ; do \
	    dh_link `echo $${py} | sed 's:^debian/$(DEB_SOURCE)::'` usr/bin/`basename $${py}` ; \
	done

override_dh_installman:
	dh_installman --language=C

### 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