aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Baz2019-03-17 22:28:25 +0100
committerrfjakob2019-03-18 08:25:29 +0100
commitceb0862438575b3a9862769b720c1adc64d9a85e (patch)
treed6cbe347a0152a6f4ce988231dff913dce2a0415
parent1f37c920ac42d28d2618deda74c91659a4819aeb (diff)
Add install goal in Makefile
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
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