debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := _examples/ |
| 4 | export DH_GOLANG_INSTALL_EXTRA := README.md |
| 5 | |
| 6 | ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo 1),1) |
| 7 | # Ubuntu: Fix FTBFS due to unknown TERM env var, cf. #1061077 |
| 8 | export TERM := xterm-256color |
| 9 | endif |
| 10 | |
| 11 | %: |
| 12 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |