| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
|
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian catch2 3.7.1-0.6 catch2/rules/DEB_BUILD_MAINT_OPTIONS.=reproducible=-fixfilepath hardening=+pie |
| 7 |
|
| 8 |
ifeq (,$(filterscip-debian debian catch2 3.7.1-0.6 catch2/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian catch2 3.7.1-0.6 catch2/rules/DEB_BUILD_OPTIONS.))) |
| 9 |
ENABLE_SELFTESTscip-debian debian catch2 3.7.1-0.6 catch2/rules/ENABLE_SELFTEST. = ON |
| 10 |
else |
| 11 |
ENABLE_SELFTESTscip-debian debian catch2 3.7.1-0.6 catch2/rules/ENABLE_SELFTEST. = OFF |
| 12 |
endif |
| 13 |
|
| 14 |
ifeq (i386,$(DEB_HOST_ARCH_CPUscip-debian debian catch2 3.7.1-0.6 catch2/rules/DEB_HOST_ARCH_CPU.)) |
| 15 |
export DEB_CXXFLAGS_MAINT_APPENDscip-debian debian catch2 3.7.1-0.6 catch2/rules/DEB_CXXFLAGS_MAINT_APPEND.=-ffloat-store |
| 16 |
endif |
| 17 |
|
| 18 |
%scip-debian debian catch2 3.7.1-0.6 catch2/rules/`%`().: |
| 19 |
dh $@ |
| 20 |
|
| 21 |
override_dh_auto_configurescip-debian debian catch2 3.7.1-0.6 catch2/rules/override_dh_auto_configure().: |
| 22 |
dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- \ |
| 23 |
-DCMAKE_INSTALL_LIBDIR=lib \ |
| 24 |
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/libcatch2-dev/docs \ |
| 25 |
-DCATCH_DEVELOPMENT_BUILD=$(ENABLE_SELFTESTscip-debian debian catch2 3.7.1-0.6 catch2/rules/ENABLE_SELFTEST.) \ |
| 26 |
-DCATCH_ENABLE_WERROR=OFF |