File: rules

package info (click to toggle)
socket-wrapper 1.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 772 kB
  • sloc: ansic: 12,734; sh: 65; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download | duplicates (3)
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_BUILD_MAINT_OPTIONS = hardening=+all abi=-time64

%:
	dh $@ --builddirectory=build

unittest = $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,-DUNIT_TESTING=1)

execute_before_dh_auto_build:
	gcc -dumpspecs

execute_after_dh_auto_install:
	asciidoctor -b manpage doc/socket_wrapper.1.adoc \
		-D debian/libsocket-wrapper/usr/share/man/man1

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_VERBOSE_MAKEFILE=ON \
		$(unittest)