Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DH_VERBOSE=1
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
6 export PREFIX = /usr
7
8 ## DPF specific vars to streamline the package for Debian
9 # we do the stripping ourselves
10 export SKIP_STRIPPING = true
11 # we have a base architecture to support
12 export NOOPT = true
13 # build loud
14 export VERBOSE = true
15 # support cross-compilation
16 ifneq (${DEB_BUILD_ARCH},${DEB_HOST_ARCH})
17 export CROSS_COMPILING = true
18 endif
19
20 %:
21 dh $@
22
23 execute_before_dh_auto_build:
24 @echo "blhc: ignore-line-regexp: ^Compiling .*"
25
26 override_dh_auto_build:
27 dh_auto_build -- \
28 CFLAGS="$(CPPFLAGS) $(CFLAGS)" \
29 CXXFLAGS="$(CPPFLAGS) $(CXXFLAGS)" \
30 $(empty)
31
32 # Clean the dpf-source package
33 execute_after_dh_auto_install:
34 rm -fr $(CURDIR)/dpf/build \
35 $(CURDIR)/dpf/dgl/src/pugl-upstream/.gitignore \
36 $(CURDIR)/dpf/utils/lv2_ttl_generator*
37
38 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
39 debian/.*|.*\.png|.*\.jpg|.*\.psd|.*\.icns|.*\.ico|.*/VeraMono\.ttf|.*/DejaVuSans\.ttf|.*/DEVROYE_\.otf|dpf/lac/2014-small-talk\.odp
40 #debian/.*|.*\.png|.*\.jpg|.*\.psd|.*\.icns|.*\.ico|.*/VeraMono\.ttf|.*/DejaVuSans\.ttf|.*/DEVROYE_\.otf|dpf/lac/2014-small-talk\.odp|.*\.lib|.*\.pch|.*\.aps
41 # licensecheck v1
42 .PHONY: licensecheck
43 licensecheck:
44 LANG=C.UTF-8 licensecheck \
45 -i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \
46 --check '.*' --recursive --deb-machine --lines 0 * \
47 > debian/copyright_newhints
48 cmp debian/copyright_hints debian/copyright_newhints \
49 && rm debian/copyright_newhints