debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow |
| 4 | export DH_GOLANG_BUILDPKG := github.com/johnkerl/miller/v6/cmd/mlr |
| 5 | |
| 6 | %: |
| 7 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 8 | |
| 9 | override_dh_auto_install: |
| 10 | dh_auto_install -- --no-source |
| 11 | |
| 12 | override_dh_auto_test: |
| 13 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 14 | _build/bin/mlr regtest -S |
| 15 | endif |