File: rules

package info (click to toggle)
farpd 0.2-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416 kB
  • sloc: ansic: 2,646; sh: 449; makefile: 16
file content (17 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

# Change from arpd to farpd
execute_after_dh_auto_install:
	find debian/farpd -type f -name "arpd*" -exec sh -xc 'mv "$$0" "$${0%/*}/f$${0##*/}"' {} \;

override_dh_installinit:
	dh_installinit -pfarpd --no-start -r -- stop 20 0 6 .