| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Skip the examples in source (they're in doc) |
| 4 | export DH_GOLANG_EXCLUDES := examples |
| 5 | export DH_GOLANG_EXCLUDES_ALL := 1 |
| 6 | |
| 7 | %: |
| 8 | dh $@ --buildsystem=golang --with=golang |
| 9 | |
| 10 | # disable tests for now, most require root and a working lxc setup. |
| 11 | # Some don't, and there are provision to skip the one that do, |
| 12 | # but the build system is using fakeroot, so it fails. |
| 13 | # Also, even without root a proper lxc + cgroups setup is needed |
| 14 | override_dh_auto_test: |
| 15 | echo "The testsuite requires a working LXC setup." |