File: rules

package info (click to toggle)
jsoncons 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,300 kB
  • sloc: cpp: 143,266; sh: 34; makefile: 8
file content (16 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# https://github.com/danielaparker/jsoncons/issues/645
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error=free-nonheap-object

%:
	dh $@ --buildsystem=cmake+ninja

# this package is not arch-depent, so no need for host triple
override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=/usr/lib

execute_before_dh_install:
	# https://github.com/danielaparker/jsoncons/issues/657
	chmod a-x examples/build/cmake/CMakeLists.txt