| 1 | #!/bin/sh |
| 2 | |
| 3 | set -eu |
| 4 | |
| 5 | # skip non-copyright-protected Debian files |
| 6 | RE_debian='debian/(changelog|copyright(-check|_hints)?|source/lintian-overrides)' |
| 7 | |
| 8 | # check for copyright and licensing statements |
| 9 | licensecheck --copyright --deb-machine --recursive --lines 0 --check '.*' --ignore "^($RE_debian)$" -- * > debian/copyright_hints |