File: rules

package info (click to toggle)
dnsperf 2.14.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,352 kB
  • sloc: ansic: 6,653; sh: 4,786; python: 104; makefile: 73
file content (18 lines) | stat: -rwxr-xr-x 615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4))
  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
endif

%:
	dh ${@}

execute_after_dh_auto_install:
	# queryparse
	cp contrib/queryparse/queryparse debian/dnsperf/usr/bin/pcap-queryparse
	cp contrib/queryparse/queryparse.1 debian/dnsperf/usr/share/man/man1/pcap-queryparse.1
	cp contrib/queryparse/USAGE debian/dnsperf/usr/share/doc/dnsperf/pcap-queryparse.USAGE

	# Removing useless files
	rm -f debian/dnsperf/usr/share/doc/dnsperf/LICENSE
	rm -f debian/dnsperf/usr/share/doc/dnsperf/README.md