Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/architecture.mk
4
5 DEB_CMAKE_EXTRA_FLAGS =
6
7 ifneq ($(DEB_HOST_ARCH_OS),linux)
8 DEB_CMAKE_EXTRA_FLAGS += \
9 -DWITHOUT_GAVL=TRUE
10 endif
11
12 #DEB_CMAKE_EXTRA_FLAGS += \
13 # -DCMAKE_INSTALL_LIBDIR=lib
14
15 %:
16 dh $@
17
18 override_dh_auto_configure:
19 dh_auto_configure -- \
20 $(DEB_CMAKE_EXTRA_FLAGS)
21
22 execute_after_dh_auto_build-indep:
23 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
24 doxygen docs/Doxyfile
25 endif
26
27 ################ d/copyright helper ##############
28 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
29 debian/.*|src/.*\.jpg|docs/.*\.web[pm]
30 # licensecheck v1
31 .PHONY: licensecheck
32 licensecheck:
33 LANG=C.UTF-8 licensecheck \
34 -i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \
35 --check '.*' --recursive --deb-machine --lines 0 * \
36 > debian/copyright_newhints
37 cmp debian/copyright_hints debian/copyright_newhints \
38 && rm debian/copyright_newhints