File: rules

package info (click to toggle)
netperf 2.7.0%2Bgit20210121.3bc455b%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,740 kB
  • sloc: ansic: 41,885; sh: 5,265; xml: 3,129; python: 2,480; makefile: 70; awk: 68
file content (25 lines) | stat: -rwxr-xr-x 552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	dh_autoreconf autoreconf  -- -f -i -I src/missing/m4

override_dh_auto_configure:
	dh_auto_configure -- --enable-demo

execute_after_dh_auto_build:
	$(MAKE) -C doc netperf.pdf netperf.html

execute_after_dh_auto_install:
	$(RM) -rv debian/netperf/usr/share/info

override_dh_installsystemd:
	dh_installsystemd --no-enable

override_dh_installinit:
	dh_installinit --no-enable --no-start