File: rules

package info (click to toggle)
netperf 2.7.0-0.1
  • links: PTS
  • area: non-free
  • in suites: bookworm, bullseye
  • size: 8,840 kB
  • sloc: ansic: 41,631; sh: 5,259; xml: 3,129; python: 2,376; awk: 68; makefile: 66
file content (17 lines) | stat: -rwxr-xr-x 567 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

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

DEB_CONFIGURE_EXTRA_FLAGS := --enable-demo

build/netperf::
	cd doc && make netperf.pdf netperf.html

binary-post-install/netperf::
	rm debian/$(cdbs_curpkg)/usr/share/doc/netperf/changelog
	rm -rf debian/$(cdbs_curpkg)/usr/share/info
	cp COPYING debian/$(cdbs_curpkg)/usr/share/doc/netperf/copyright
	cp doc/netperf.pdf debian/$(cdbs_curpkg)/usr/share/doc/netperf/netperf.pdf
	cp doc/netperf.html debian/$(cdbs_curpkg)/usr/share/doc/netperf/netperf.html