File: rules

package info (click to toggle)
feedbackd 0.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,000 kB
  • sloc: ansic: 7,251; xml: 69; sh: 28; makefile: 23; lisp: 18; python: 16
file content (26 lines) | stat: -rwxr-xr-x 578 bytes parent folder | download
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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
  CONFIGURE_OPTS += -Dtests=false
endif

ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
  CONFIGURE_OPTS += -Dgtk_doc=true -Dman=true
endif

%:
	dh $@ --builddirectory=_build

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_OPTS)

override_dh_installudev:
	# Make sure all the symlink rules in 60 ran:
	dh_installudev --priority=90

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dbus-run-session ninja -C _build test
endif