File: rules

package info (click to toggle)
nagiosplugin 1.2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 380 kB
  • ctags: 445
  • sloc: python: 1,806; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export PYBUILD_NAME=nagiosplugin

%:
	dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install -O--buildsystem=pybuild
	rm -rf debian/python*-nagiosplugin/usr/lib/python*/dist-packages/nagiosplugin/examples/

override_dh_installdocs:
	rm -rf src/nagiosplugin/examples/__pycache__ src/nagiosplugin/examples/*.pyc
	dh_installdocs -O--buildsystem=pybuild