Skip to content

Commit

Permalink
fix(build): allow installation via Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasfrahm committed May 3, 2022
1 parent 303e01e commit 8a7ade3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ vagrant-up:
vagrant-down:
cd deploy/vagrant; vagrant destroy -f

/usr/local/bin/$(TARGET): bin/$(TARGET)-$(SUFFIX)
@sudo cp $^ $@
@sudo chmod 755 $@

.PHONY: install
install: /usr/local/bin/$(TARGET)

.PHONY: uninstall
uninstall:
@sudo rm -f /usr/local/bin/$(TARGET)

.PHONY: clean
clean:
@rm -rvf bin

0 comments on commit 8a7ade3

Please sign in to comment.