File: rules

package info (click to toggle)
nanoflann 1.4.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,236 kB
  • sloc: cpp: 3,821; python: 382; sh: 246; makefile: 64
file content (25 lines) | stat: -rwxr-xr-x 493 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
#!/usr/bin/make -f


BUILD_TESTS = $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DPKGCONFIG_INSTALL_DIR=share/pkgconfig \
		-DNANOFLANN_BUILD_EXAMPLES=OFF \
		-DNANOFLANN_BUILD_BENCHMARKS=OFF \
		-DNANOFLANN_BUILD_TESTS=$(BUILD_TESTS)

execute_after_dh_auto_build:
ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),)
	doxygen
endif

execute_after_dh_installdocs:
ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),)
	dh_doxygen
endif