Modernize 'licensecheck' target
IOhannes m zmölnig (Debian/GNU)
1 year, 5 months ago
13 | 13 | # remove license file so we can replace it with link to the Debian license file |
14 | 14 | rm -f -- $(CURDIR)/debian/*/$(pkglibdir)/*/LICENSE.txt |
15 | 15 | |
16 | .PHONY: licensecheck | |
16 | 17 | licensecheck: |
17 | licensecheck --deb-machine -r . \ | |
18 | licensecheck \ | |
19 | -i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \ | |
20 | --check '.*' --recursive --deb-machine --lines 0 * \ | |
18 | 21 | > debian/copyright_newhints |
19 | 22 | cmp debian/copyright_hints debian/copyright_newhints \ |
20 | 23 | && rm debian/copyright_newhints |
24 |