Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3
4 DPKG_EXPORT_BUILDFLAGS = 1
5 include /usr/share/dpkg/default.mk
6
7 export PYBUILD_NAME = brotli
8
9 CMAKE_FLAGS := -DBROTLI_BUILD_FOR_PACKAGE=ON
10
11 ifeq (,$(filter nopython,$(DEB_BUILD_PROFILES)))
12 %:
13 dh $@ --buildsystem=pybuild --with=python3
14
15 override_dh_auto_configure:
16 dh_auto_configure
17 dh_auto_configure --buildsystem=cmake -- $(CMAKE_FLAGS)
18
19 override_dh_auto_build:
20 dh_auto_build
21 dh_auto_build --buildsystem=cmake
22
23 override_dh_auto_install:
24 dh_auto_install
25 dh_auto_install --buildsystem=cmake
26
27 override_dh_auto_clean:
28 dh_auto_clean
29 dh_auto_clean --buildsystem=cmake
30
31 override_dh_auto_test:
32 dh_auto_test
33 dh_auto_test --buildsystem=cmake
34 else
35 %:
36 dh $@ --buildsystem=cmake
37
38 override_dh_auto_configure:
39 dh_auto_configure --buildsystem=cmake -- $(CMAKE_FLAGS)
40 endif
41
42 override_dh_missing:
43 dh_missing --fail-missing
44
45 override_dh_install:
46 # drop "-static" part from static libs
47 debian/rename-static-libs.sh
48 dh_install