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
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#BUILD_DIR=obj-$(DEB_HOST_GNU_TYPE)
#include /usr/share/dpkg/architecture.mk
%:
dh $@
#override_dh_auto_configure:
# dh_auto_configure -- -DCMAKE_BUILD_TYPE=Debug
#
#execute_after_dh_auto_build:
#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# cd $(BUILD_DIR) && \
# cmake --build ./ -t self_test thread_terror custom_recursive_mutex
#endif
#
#execute_after_dh_auto_test:
# cd $(BUILD_DIR)/test && \
# ./self_test && ./thread_terror && ./custom_recursive_mutex
override_dh_compress:
dh_compress -X.pdf -X.md
|