Debian Codegraph @

debian/rules

raw symbols SCIP
1 #! /usr/bin/make -f
2 # -*- makefile -*-
3
4 # Include for DEB_VERSION_UPSTREAM below
5 include /usr/share/dpkg/pkg-info.mk
6
7 # Uncomment this to turn on verbose mode.
8 #export DH_VERBOSE=1
9 export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
10
11 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12 DPKG_EXPORT_BUILDFLAGS = 1
13 include /usr/share/dpkg/buildflags.mk
14 CFLAGS+=$(CPPFLAGS)
15 CXXFLAGS+=$(CPPFLAGS)
16
17 # For automating the d/*.links stuff.
18 export LIBODSSTREAM_VERSION=$(DEB_VERSION_UPSTREAM)
19 export LIBODSSTREAM_SOVERSION=0
20
21
22 %:
23 dh $@ --buildsystem=cmake
24
25
26 override_dh_clean:
27 dh_clean
28
29
30 override_dh_auto_configure:
31 dh_auto_configure -- \
32 -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" \
33 -DCMAKE_INSTALL_PREFIX=/usr \
34 -DCMAKE_BUILD_TYPE=Release \
35 -DMAKE_TEST=1 \
36 -DCMAKE_SKIP_RPATH=ON \
37 -DCMAKE_SKIP_INSTALL_RPATH=ON \
38 -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON
39
40
41 override_dh_auto_build:
42 dh_auto_build --no-parallel
43 dh_auto_build -- doc
44 dh_auto_test
45