Elara Musayelyan
45522e3f3a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
22 lines
525 B
Makefile
22 lines
525 B
Makefile
PREFIX ?= /usr/local
|
|
|
|
lure: internal/config/version.txt
|
|
CGO_ENABLED=0 go build
|
|
|
|
clean:
|
|
rm -f lure
|
|
|
|
install: lure installmisc
|
|
install -Dm755 lure $(DESTDIR)$(PREFIX)/bin/lure
|
|
|
|
installmisc:
|
|
install -Dm755 scripts/completion/bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/lure
|
|
install -Dm755 scripts/completion/zsh $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_lure
|
|
|
|
uninstall:
|
|
rm -f /usr/local/bin/lure
|
|
|
|
internal/config/version.txt:
|
|
go generate ./internal/config
|
|
|
|
.PHONY: install clean uninstall installmisc |