Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # Copyright © 2010 Hans-Christoph Steiner <[email protected]>
3 # Copyright © 2018 IOhannes m zmölnig <[email protected]>
4
5 #enable hardening
6 export DEB_BUILD_MAINT_OPTIONSscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+all
7
8 pkglibdirscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/pkglibdir. = /usr/lib/pd/extra
9
10 %scip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/`%`().:
11 dh $@
12
13 override_dh_auto_buildscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/override_dh_auto_build().:
14 dh_auto_buildscip-debian debian debhelper . dh_auto_build(). -- \
15 arch.flags="" \
16 CPPFLAGS="$(CPPFLAGSscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/CPPFLAGS.)" \
17 CFLAGS="$(CPPFLAGSscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/CPPFLAGS.) $(CFLAGSscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/CFLAGS.)" \
18 LDFLAGS="$(LDFLAGSscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/LDFLAGS.) -Wl,-as-needed" \
19 $(emptyscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/empty.)
20
21 override_dh_auto_installscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/override_dh_auto_install().:
22 dh_auto_installscip-debian debian debhelper . dh_auto_install(). -- \
23 prefix=/usr pkglibdir=$(pkglibdirscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/pkglibdir.) \
24 STRIP="true" \
25 $(emptyscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/empty.)
26 # fix permissions
27 find $(CURDIRscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/CURDIR.)/debian/*/$(pkglibdirscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/pkglibdir.) -name "*.pd_linux" -exec \
28 chmod 0664 {} +
29 # remove license file so we can replace it with link to the Debian license file
30 rm -f -- $(CURDIRscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/CURDIR.)/debian/*/$(pkglibdirscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/pkglibdir.)/*/LICENSE.txt
31
32 DEB_COPYRIGHT_CHECK_IGNORE_REGEXscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/DEB_COPYRIGHT_CHECK_IGNORE_REGEX. = \
33 debian/.*|examples/speaker\.gif
34 # licensecheck v1
35 .PHONYscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/`.PHONY`().: licensecheck
36 licensecheckscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/licensecheck().:
37 LANG=C.UTF-8 licensecheck \
38 -i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEXscip-debian debian pd-unauthorized 0.1-9 pd-unauthorized/rules/DEB_COPYRIGHT_CHECK_IGNORE_REGEX.))$$" \
39 --check '.*' --recursive --deb-machine --lines 0 * \
40 > debian/copyright_newhints
41 cmp debian/copyright_hints debian/copyright_newhints \
42 && rm debian/copyright_newhints