File: rules

package info (click to toggle)
wl-mirror 0.18.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 688 kB
  • sloc: ansic: 4,886; xml: 2,062; sh: 284; makefile: 54
file content (23 lines) | stat: -rwxr-xr-x 463 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs

%:
	dh $@ --buildsystem=cmake

ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
DOCS=OFF
else
DOCS=ON
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		-DFORCE_SYSTEM_WL_PROTOCOLS=ON \
		-DWITH_LIBDECOR=ON \
		-DWITH_GBM=ON \
		-DBUILD_DOCUMENTATION=$(DOCS) \
		-DINSTALL_DOCUMENTATION=$(DOCS) \
		-DINSTALL_EXAMPLE_SCRIPTS=ON \
		$(NULL)