Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # GNU copyright 1997 to 1999 by Joey Hess.
3 # Copyright (c) 1999 Herbert Xu <[email protected]>
4 # Copyright (c) 2004-2005 Anibal Monsalve Salazar <[email protected]>
5 # Copyright (c) 2012-2017 Axel Beckert <[email protected]>
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9
10 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
11
12 %:
13 dh $@
14
15 override_dh_auto_configure:
16 dh_auto_configure -- --enable-ipv4 --enable-ipv6
17
18 override_dh_fixperms:
19 dh_fixperms
20 mv debian/fping/usr/sbin/fping* debian/fping/usr/bin/
21 rmdir debian/fping/usr/sbin/
22 # Use setuid only on non-linux architectures
23 if dpkg-architecture -qDEB_HOST_ARCH_OS | grep -qv linux; then \
24 chmod 4755 debian/fping/usr/bin/fping*; \
25 fi
26
27 override_dh_installman:
28 pod2man -c "" -s 8 -r BACKWARDS-COMPATIBILITY -u debian/fping6.pod debian/fping6.8
29 dh_installman