File: rules

package info (click to toggle)
mathicgb 1.0~git20220621-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,808 kB
  • sloc: cpp: 22,588; sh: 217; makefile: 107
file content (12 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

WITH_GTEST := $(if $(filter nocheck, $(DEB_BUILD_OPTIONS)), \
	--without-gtest, GTEST_PATH=/usr/src/gtest)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(WITH_GTEST) --enable-shared