diff --git a/Makefile b/Makefile index 88e3199..6934e47 100644 --- a/Makefile +++ b/Makefile @@ -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