| 1 |
|
| 2 |
|
| 3 |
export DH_GOLANG_INSTALL_EXTRA := $(wildcard schemas/*) |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 7 |
|
| 8 |
execute_before_dh_auto_configure: copyright-scan |
| 9 |
|
| 10 |
copyright-scan: |
| 11 |
scan-copyrights >debian/[email protected] 2>debian/[email protected] |
| 12 |
( \ |
| 13 |
sed -e 's/^/# /' -e '/You may want to add a line in/q' debian/[email protected]; \ |
| 14 |
echo; \ |
| 15 |
cat debian/[email protected]; \ |
| 16 |
) >debian/[email protected] |
| 17 |
diff -u debian/$@ debian/[email protected] |
| 18 |
rm debian/[email protected]* |
| 19 |
|
| 20 |
copyright-update: copyright-scan |
| 21 |
cme update -q dpkg-copyright |