| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 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 |
|
| 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 |
|
| 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 |
|
| 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 |