| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# use the default Debian build options; do not strip as dh_* scripts strip the binary |
| 4 |
export NO_FLTO=1 |
| 5 |
export STRIP=/bin/true |
| 6 |
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS))) |
| 7 |
export V=1 |
| 8 |
else |
| 9 |
export V=0 |
| 10 |
endif |
| 11 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ |
| 15 |
|
| 16 |
override_dh_install: |
| 17 |
dh_install |
| 18 |
mv debian/iotop-c/usr/sbin/iotop debian/iotop-c/usr/sbin/iotop-c |
| 19 |
mv debian/iotop-c/usr/share/man/man8/iotop.8 debian/iotop-c/usr/share/man/man8/iotop-c.8 |