File: rules

package info (click to toggle)
osmcoastline 2.3.0-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 808 kB
  • sloc: cpp: 2,739; sh: 597; sql: 199; makefile: 12
file content (22 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# DH_VERBOSE := 1

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ --buildsystem cmake

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo

override_dh_auto_test:
	dh_auto_test

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	(cd obj-* && ./runtest.sh || echo "Ignoring expected test failure")
endif

override_dh_installchangelogs:
	dh_installchangelogs -k CHANGELOG.md