File: rules

package info (click to toggle)
cloudflare-ddns 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 420 kB
  • sloc: cpp: 844; ansic: 126; sh: 32; makefile: 6
file content (12 lines) | stat: -rwxr-xr-x 317 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

# optimize=-lto because I use Meson's LTO
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto qa=+all

export systemd_system_unit_dir = $(shell pkg-config --variable=systemd_system_unit_dir systemd | sed s,^/,,)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -Db_lto=true