File: rules

package info (click to toggle)
fastd 22-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,872 kB
  • sloc: asm: 15,114; ansic: 11,284; yacc: 599; sh: 472; makefile: 160; python: 35; perl: 11
file content (26 lines) | stat: -rwxr-xr-x 751 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

MESON_EXTRA_FLAGS :=
MESON_EXTRA_FLAGS += -Dsystemd=enabled
MESON_EXTRA_FLAGS += -Db_lto=true

binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep:
	dh $@ --with sphinxdoc

override_dh_auto_build:
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	$(MAKE) -C doc html
endif

override_dh_auto_configure:
	dh_auto_configure -- $(MESON_EXTRA_FLAGS)

override_dh_installinit:
	dh_installinit --no-start -- defaults 16 80

.PHONY: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep \
	override_dh_auto_build override_dh_auto_configure override_dh_installinit