File: rules

package info (click to toggle)
nuspell 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,012 kB
  • sloc: cpp: 20,735; sh: 495; perl: 261; makefile: 8
file content (19 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# test directory is not yet part of the release tarball and shall be
# downloaded by git, this is not possible on buildds, so deactivate
# tests
CMAKE_FLAGS = \
	-DBUILD_SHARED_LIBS=ON \
	-DBUILD_TESTING=OFF

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_FLAGS)