File: rules

package info (click to toggle)
py3dns 4.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: python: 1,984; makefile: 10; sh: 7
file content (17 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_DESTDIR_python3=debian/python3-dns/

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	find $(CURDIR)/debian/python3-dns -name win32dns.py | xargs rm -f

execute_after_dh_auto_clean:
	rm -rf $(CURDIR)/.pybuild
	rm -rf $(CURDIR)/build
	rm -rf $(CURDIR)/DNS/__pycache__

override_dh_auto_test:
	# Needs network, autopkgtest instead