Add install goal in Makefile
This commit is contained in:
parent
1f37c920ac
commit
ceb0862438
8
Makefile
8
Makefile
@ -1,6 +1,7 @@
|
|||||||
.phony: build
|
.phony: build
|
||||||
build:
|
build:
|
||||||
./build.bash
|
./build.bash
|
||||||
|
./Documentation/MANPAGE-render.bash
|
||||||
|
|
||||||
.phony: test
|
.phony: test
|
||||||
test:
|
test:
|
||||||
@ -9,3 +10,10 @@ test:
|
|||||||
.phony: format
|
.phony: format
|
||||||
format:
|
format:
|
||||||
go fmt ./...
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user