From ceb0862438575b3a9862769b720c1adc64d9a85e Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Sun, 17 Mar 2019 22:28:25 +0100 Subject: Add install goal in Makefile --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3