alr изменения
This commit is contained in:
18
Makefile
18
Makefile
@ -1,20 +1,20 @@
|
||||
PREFIX ?= /usr/local
|
||||
GIT_VERSION = $(shell git describe --tags )
|
||||
|
||||
lure:
|
||||
CGO_ENABLED=0 go build -ldflags="-X 'go.elara.ws/lure/internal/config.Version=$(GIT_VERSION)'"
|
||||
alr:
|
||||
CGO_ENABLED=0 go build -ldflags="-X 'go.elara.ws/alr/internal/config.Version=$(GIT_VERSION)'"
|
||||
|
||||
clean:
|
||||
rm -f lure
|
||||
rm -f alr
|
||||
|
||||
install: lure installmisc
|
||||
install -Dm755 lure $(DESTDIR)$(PREFIX)/bin/lure
|
||||
install: alr installmisc
|
||||
install -Dm755 alr $(DESTDIR)$(PREFIX)/bin/alr
|
||||
|
||||
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
|
||||
install -Dm755 scripts/completion/bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/alr
|
||||
install -Dm755 scripts/completion/zsh $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_alr
|
||||
|
||||
uninstall:
|
||||
rm -f /usr/local/bin/lure
|
||||
rm -f /usr/local/bin/alr
|
||||
|
||||
.PHONY: install clean uninstall installmisc lure
|
||||
.PHONY: install clean uninstall installmisc alr
|
Reference in New Issue
Block a user