Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- mode: makefile; coding: utf-8 -*-
3 # Copyright © 2022 IOhannes m zmölnig <[email protected]>
4 # Description: Main Debian packaging script for CSound Plugins
5
6 #export DH_VERBOSE = 1
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 export DEB_CPPFLAGS_MAINT_APPEND = -DH5_USE_110_API
10 %:
11 dh $@
12
13 override_dh_auto_configure:
14 dh_auto_configure -- \
15 -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
16 -DBUILD_RELEASE=ON \
17 -DUSE_GIT_COMMIT=OFF \
18 -DUSE_DOUBLE=ON \
19 -DABLETON_LINK_HOME=/ \
20 -DDEFAULT_STK_RAWWAVE_PATH=/usr/share/stk/rawwaves \
21 $(empty)
22
23 override_dh_auto_install:
24 dh_auto_install --destdir=debian/tmp/
25
26
27 ################ d/copyright helper ##############
28 DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
29 debian/.*
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