| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := benchmarks bindings |
| 4 | |
| 5 | include /usr/share/dpkg/pkg-info.mk |
| 6 | |
| 7 | %: |
| 8 | dh $@ --builddirectory=_build --buildsystem=golang |
| 9 | |
| 10 | override_dh_auto_build: |
| 11 | dh_auto_build -- -ldflags "-X 'main.Version=v$(DEB_VERSION_UPSTREAM)'" |
| 12 | _build/bin/minify --version |