File: rules

package info (click to toggle)
json-c 0.15-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,512 kB
  • sloc: ansic: 8,166; sh: 493; javascript: 82; makefile: 12; cpp: 11
file content (22 lines) | stat: -rwxr-xr-x 408 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
21
22
#!/usr/bin/make -f
#export DH_VERBOSE=1

export USE_VALGRIND=0

DPKG_GENSYMBOLS_CHECK_LEVEL ?= 4

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/architecture.mk

export DEB_HOST_MULTIARCH

%:
	dh $@ --buildsystem=cmake --builddirectory=build

override_dh_makeshlibs:
	dh_makeshlibs -V --add-udeb="libjson-c5-udeb"

override_dh_auto_build:
	cd build && $(MAKE) doc
	dh_auto_build --