File: rules

package info (click to toggle)
ssh-audit 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 1,188 kB
  • sloc: python: 5,616; sh: 584; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
#export DH_VERBOSE = 1

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

override_dh_auto_configure:
	cat debian/*manpages | sed 's/$$/.txt/p' | xargs -n 1 a2x --doctype manpage --format manpage
	dh_auto_configure

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYTHONPATH=$(CURDIR)/src py.test-3
endif

override_dh_clean:
	dh_clean $(CURDIR)/src/*.egg-info/