File: rules

package info (click to toggle)
libbiosoup-dev 0.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 168 kB
  • sloc: cpp: 646; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# DH_VERBOSE := 1

DEB_CMAKE_EXTRA_FLAGS = -Dbiosoup_build_tests=ON -Dbiosoup_install=ON \
			-DCMAKE_INSTALL_LIBDIR=lib

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	obj-*/bin/biosoup_test
endif

execute_after_dh_install:
	find debian -name meson.build -delete