#!/usr/bin/make -f

# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
export DH_VERBOSE = 1
export DH_SRCDIR=--sourcedirectory=projects/rocprofiler-register

# See FEATURE AREAS in dpkg-buildflags(1).
export DEB_BUILD_MAINT_OPTIONS = hardening=+all


%:
	dh  $@ -- $(DH_SRCDIR)

override_dh_installdocs:
	dh_installdocs --link-doc=librocprofiler-register-0

override_dh_auto_configure:
	dh_auto_configure $(DH_SRCDIR) -- -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DROCPROFILER_REGISTER_BUILD_GLOG=OFF -DROCPROFILER_REGISTER_BUILD_FMT=OFF
