Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # DH_VERBOSE := 1
4 export LC_ALL=C.UTF-8
5
6 include /usr/share/dpkg/default.mk
7
8 # for hardening you might like to uncomment this:
9 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
10
11 CMAKE_EXTRA_FLAGS += -DDEBIAN_BUILD=1
12
13 %:
14 dh $@
15
16 override_dh_auto_configure:
17 dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) -DCMAKE_POLICY_VERSION_MINIMUM=3.5
18
19 override_dh_auto_test:
20 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
21 cp $(CURDIR)/debian/missing-sources/htslib/* test
22 cp $(CURDIR)/debian/missing-sources/ctpl/*.h test
23 cd test && cmake . && make || true
24 cd test && \
25 rm -rf external CMakeFiles Testing \
26 CMakeCache.txt CTestTestfile.cmake DartConfiguration.tcl \
27 Makefile README cmake_install.cmake ctpl_stl.h h*.h kstring.h t*.h
28 endif