File: rules

package info (click to toggle)
libcxx-serial 1.2.1-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 564 kB
  • sloc: cpp: 3,120; makefile: 68; ansic: 17; xml: 17; python: 9
file content (20 lines) | stat: -rwxr-xr-x 446 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
#!/usr/bin/make -f

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@  --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
	    -DCMAKE_VERBOSE_MAKEFILE=ON

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	make -C obj-$(DEB_HOST_GNU_TYPE) \
	    run_tests_cxx-serial_gtest_cxx-serial-test
endif

override_dh_missing:
	dh_missing --fail-missing