1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
SONAME := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d "." -f1,2)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@
override_dh_auto_clean:
dh_auto_clean
rm -rf html latex
override_dh_auto_configure:
dh_auto_configure -- -DCPPREST_EXPORT_DIR=cmake -DCPPREST_EXCLUDE_BROTLI=OFF
override_dh_auto_build-indep:
doxygen Release/public_apis_doxyfile
override_dh_install-indep:
dh_install -plibcpprest-doc html/* usr/share/doc/libcpprest-doc/html
override_dh_auto_test:
if [ -f obj-*/Binaries/test_runner ]; then dh_auto_test; fi
|