| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | #export DH_VERBOSE := 1 |
| 4 | export DH_GOPKG := github.com/smallstep/cli |
| 5 | |
| 6 | # This package is only needed for one library: crypto/x509util |
| 7 | # Exclude packages that are not needed to keep dependencies simple. |
| 8 | export DH_GOLANG_BUILDPKG := $(DH_GOPKG)/crypto/x509util |
| 9 | export DH_GOLANG_EXCLUDES := cmd/ \ |
| 10 | crypto/kdf/ \ |
| 11 | crypto/pemutil/testdata/ \ |
| 12 | crypto/sshutil \ |
| 13 | exec/ \ |
| 14 | flags/ \ |
| 15 | integration/ \ |
| 16 | jose/ \ |
| 17 | token/ \ |
| 18 | utils/cautils/ |
| 19 | |
| 20 | %: |
| 21 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |