debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_INSTALL_EXTRA := \ |
| 4 | internal/words \ |
| 5 | config \ |
| 6 | detect/assets \ |
| 7 | |
| 8 | |
| 9 | %: |
| 10 | dh $@ --builddirectory=debian/_build --buildsystem=golang |
| 11 | |
| 12 | override_dh_auto_install: |
| 13 | dh_auto_install -- --no-binaries |
| 14 | |
| 15 | override_dh_fixperms: |
| 16 | dh_fixperms |
| 17 | # Drop executable bits to make lintian happy |
| 18 | find debian/$(SOURCE_NAME) -type f -executable -not -name "*.sh" -exec chmod -x {} + |
| 19 |