2019-01-05 12:25:38 +01:00
|
|
|
.phony: build
|
|
|
|
build:
|
|
|
|
./build.bash
|
2019-03-17 22:28:25 +01:00
|
|
|
./Documentation/MANPAGE-render.bash
|
2019-01-05 12:25:38 +01:00
|
|
|
|
|
|
|
.phony: test
|
|
|
|
test:
|
|
|
|
./test.bash
|
|
|
|
|
2019-05-01 13:11:42 +02:00
|
|
|
.phony: root_test
|
|
|
|
root_test:
|
|
|
|
./build.bash
|
2019-05-01 18:31:54 +02:00
|
|
|
cd tests/root_test ; go test -c ; sudo ./root_test.test -test.v
|
2019-05-01 13:11:42 +02:00
|
|
|
|
2019-01-05 12:25:38 +01:00
|
|
|
.phony: format
|
|
|
|
format:
|
|
|
|
go fmt ./...
|
2019-03-17 22:28:25 +01:00
|
|
|
|
|
|
|
.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
|
2019-03-18 08:27:24 +01:00
|
|
|
install -Dm644 -t "$(DESTDIR)/usr/share/man/man1/" Documentation/gocryptfs-xray.1
|
2019-03-17 22:28:25 +01:00
|
|
|
install -Dm644 -t "$(DESTDIR)/usr/share/licenses/gocryptfs" LICENSE
|