File: rules

package info (click to toggle)
dnsdiag 2.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 188 kB
  • sloc: python: 960; sh: 56; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 621 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=dnsdiag
export PYBUILD_SYSTEM=distutils

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

override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/dnsdiag/usr/bin/dnseval.py $(CURDIR)/debian/dnsdiag/usr/bin/dnseval
	mv $(CURDIR)/debian/dnsdiag/usr/bin/dnsping.py $(CURDIR)/debian/dnsdiag/usr/bin/dnsping
	mkdir $(CURDIR)/debian/dnsdiag/usr/sbin
	mv $(CURDIR)/debian/dnsdiag/usr/bin/dnstraceroute.py $(CURDIR)/debian/dnsdiag/usr/sbin/dnstraceroute