Add install goal in Makefile

This commit is contained in:
Maxim Baz 2019-03-17 22:28:25 +01:00 committed by rfjakob
parent 1f37c920ac
commit ceb0862438

View File

@ -1,6 +1,7 @@
.phony: build
build:
./build.bash
./Documentation/MANPAGE-render.bash
.phony: test
test:
@ -9,3 +10,10 @@ test:
.phony: format
format:
go fmt ./...
.phony: install
install:
install -Dm755 -t "$(DESTDIR)/usr/bin/" gocryptfs
install -Dm755 -t "$(DESTDIR)/usr/bin/" gocryptfs-xray/gocryptfs-xray
install -Dm644 -t "$(DESTDIR)/usr/share/man/man1/" Documentation/gocryptfs.1
install -Dm644 -t "$(DESTDIR)/usr/share/licenses/gocryptfs" LICENSE