File: rules

package info (click to toggle)
miller 6.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 85,560 kB
  • sloc: ruby: 162; sh: 92; makefile: 84
file content (15 lines) | stat: -rwxr-xr-x 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export DH_GOLANG_BUILDPKG := github.com/johnkerl/miller/cmd/mlr

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

override_dh_auto_install:
	dh_auto_install -- --no-source

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	_build/bin/mlr regtest -S
endif