File: rules

package info (click to toggle)
iotop-c 1.17-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 228 kB
  • sloc: ansic: 2,622; makefile: 89
file content (19 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# use the default Debian build options; do not strip as dh_* scripts strip the binary
export NO_FLTO=1
export STRIP=/bin/true
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
export V=1
else
export V=0
endif
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_install:
	dh_install
	mv debian/iotop-c/usr/sbin/iotop debian/iotop-c/usr/sbin/iotop-c
	mv debian/iotop-c/usr/share/man/man8/iotop.8 debian/iotop-c/usr/share/man/man8/iotop-c.8