File: rules

package info (click to toggle)
cutesv 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,360 kB
  • sloc: python: 5,192; sh: 102; makefile: 12
file content (25 lines) | stat: -rwxr-xr-x 571 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

%:
	dh $@ --buildsystem=pybuild

override_dh_install:
	dh_install
	find debian -name LICENSE -delete

override_dh_auto_clean:
	dh_auto_clean
	rm -rf src/cuteSV.egg-info

override_dh_installdeb:
	# either remove or create non-conflicting location / separate package for testing
	rm -fr debian/cutesv/usr/lib/python3/dist-packages/benchmarks
	dh_installdeb

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