File: rules

package info (click to toggle)
arpon 3.0-ng%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 728 kB
  • sloc: ansic: 3,416; sh: 166; makefile: 6
file content (15 lines) | stat: -rwxr-xr-x 434 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

#DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Without NDEBUG, the log is flooded with debug messages that cannot be
# disabled.
export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG

%:
	dh $@

# Install prefix has to be set to / (instead of /usr), otherwise most of the
# paths are prefixed with /usr (e.g. /usr/etc/arpon.conf)
override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/