| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=-all |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ --builddirectory=debian/build |
| 10 |
|
| 11 |
override_dh_auto_build: |
| 12 |
$(MAKE) CONFIGURATION=debug |
| 13 |
|
| 14 |
override_dh_auto_clean: |
| 15 |
$(MAKE) CONFIGURATION=debug clean |
| 16 |
|
| 17 |
execute_before_dh_auto_configure: copyright-scan |
| 18 |
|
| 19 |
copyright-scan: |
| 20 |
scan-copyrights >debian/[email protected] 2>debian/[email protected] |
| 21 |
(sed -e 's/^/# /' debian/[email protected]; echo; cat debian/[email protected]) \ |
| 22 |
| grep -v "Note: loading debian/fill.copyright.blanks.yml" >debian/[email protected] |
| 23 |
diff -u debian/$@ debian/[email protected] |
| 24 |
rm debian/[email protected]* |
| 25 |
|
| 26 |
copyright-update: copyright-scan |
| 27 |
cme update -q dpkg-copyright |
| 28 |
|
| 29 |
.PHONY: copyright-scan copyright-update |