File: rules

package info (click to toggle)
libqmi 1.38.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,532 kB
  • sloc: cpp: 259,120; ansic: 58,721; python: 5,080; sh: 467; makefile: 361; javascript: 5
file content (25 lines) | stat: -rwxr-xr-x 507 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
#!/usr/bin/make -f
# -*- makefile -*-

export DPKG_GENSYMBOLS_CHECK_LEVEL=4
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DOPACKAGES=$(shell dh_listpackages)

%:
	dh $@ --with gir

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

override_dh_auto_configure:
	dh_auto_configure -- -Ddefault_library=both $(CONFIGURE_FLAGS)

override_dh_missing:
	dh_missing -X.la

override_dh_installexamples:
	dh_installexamples -XMakefile