Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 # Enable hardening build flags
7 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
8
9 export DEB_PYTHON_INSTALL_LAYOUT=deb_system
10
11 include /usr/share/dpkg/architecture.mk
12
13 %:
14 dh $@ --buildsystem=cmake --builddir=build
15
16 override_dh_auto_configure:
17 dh_auto_configure -- -DSTANDALONE_BUILD=ON
18
19 override_dh_auto_test:
20 # Ignore test failures on problematic architectures only
21 ifeq (,$(filter $(DEB_BUILD_ARCH),amd64))
22 PYTHONPATH=$(CURDIR)/build dh_auto_test || echo "Ignoring test failures"
23 else
24 PYTHONPATH=$(CURDIR)/build dh_auto_test
25 endif
26
27 execute_after_dh_auto_install:
28 find $(CURDIR)/debian/tmp -name '*.so*' -exec chrpath -d {} \;