File: rules

package info (click to toggle)
cpp-jwt 1.4%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 584 kB
  • sloc: cpp: 3,366; ansic: 33; sh: 31; makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 369 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
#!/usr/bin/make -f

%:
	dh $@

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
  test := true
else
  test := false
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCPP_JWT_BUILD_EXAMPLES=false \
		-DCPP_JWT_BUILD_TESTS=$(test) \
		-DCPP_JWT_USE_VENDORED_NLOHMANN_JSON=false

execute_after_dh_auto_install:
	rmdir debian/libcpp-jwt-dev/usr/include/jwt/test