Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 DH_VERBOSE := 1
4
5 %:
6 dh $@ --buildsystem=pybuild
7
8 override_dh_install:
9 dh_install
10 find debian -name LICENSE -delete
11
12 override_dh_auto_clean:
13 dh_auto_clean
14 rm -rf src/cuteSV.egg-info
15
16 override_dh_installdeb:
17 # either remove or create non-conflicting location / separate package for testing
18 rm -fr debian/cutesv/usr/lib/python3/dist-packages/benchmarks
19 dh_installdeb
20
21 ### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
22 #override_dh_auto_test:
23 #ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
24 # do_stuff_for_testing
25 #endif