File: rules

package info (click to toggle)
libqrtr-glib 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 288 kB
  • sloc: ansic: 1,493; xml: 65; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DOPACKAGES=$(shell dh_listpackages)

%:
	dh $@ --with gir

ifneq (,$(filter libqrtr-glib-doc,$(DOPACKAGES)))
CONFIGURE_FLAGS=-Dgtk_doc=true
else
CONFIGURE_FLAGS=-Dgtk_doc=false
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		$(CONFIGURE_FLAGS)