20 lines
383 B
Makefile
Executable File
20 lines
383 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export GO111MODULE=on
|
|
export GOPROXY=direct
|
|
export GOSUMDB=off
|
|
export GOCACHE=$(CURDIR)/debian/.gocache
|
|
export GOPATH=$(CURDIR)/debian/go
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
go build -o s3-genindex ./cmd/s3-genindex
|
|
|
|
override_dh_auto_test:
|
|
go test ./...
|
|
|
|
override_dh_auto_install:
|
|
mkdir -p debian/s3-genindex/usr/bin
|
|
cp s3-genindex debian/s3-genindex/usr/bin/
|