#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/dpkg/default.mk SONAME := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d "." -f1,2) export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_clean: dh_auto_clean rm -rf html latex override_dh_auto_configure: dh_auto_configure -- -DCPPREST_EXPORT_DIR=cmake/cpprestsdk -DCPPREST_EXCLUDE_BROTLI=OFF -DWERROR=OFF override_dh_auto_build-indep: dh_auto_build doxygen Release/public_apis_doxyfile override_dh_install-indep: dh_install -plibcpprest-doc html/* usr/share/doc/libcpprest-doc/html override_dh_auto_test: ifeq ($(DEB_HOST_ARCH_ENDIAN),little) if [ -f obj-*/Release/Binaries/test_runner ]; then dh_auto_test; fi endif