From 39c4c31e155ea3df0c5a538db56afca9c6f61525 Mon Sep 17 00:00:00 2001 From: Dominik Schulz Date: Sat, 20 Mar 2021 19:16:02 +0100 Subject: [PATCH] Use BSD install compatible install -d (#1859) Use BSD install compatible install -d instead of GNU install -D to create directories. RELEASE_NOTES=[BUGFIX] Fix make install on BSD Signed-off-by: Dominik Schulz --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 946f5d5795..fb1ad2aef9 100644 --- a/Makefile +++ b/Makefile @@ -254,6 +254,7 @@ man: @go run helpers/man/main.go > gopass.1 install-man: man - @install -D -m 0644 gopass.1 $(DESTDIR)$(PREFIX)/share/man/man1/gopass.1 + @install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man1 + @install -m 0644 gopass.1 $(DESTDIR)$(PREFIX)/share/man/man1/gopass.1 .PHONY: clean build completion install sysinfo crosscompile test codequality release goreleaser debsign man