Skip to content

Commit

Permalink
Use BSD install compatible install -d (gopasspw#1859)
Browse files Browse the repository at this point in the history
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 <dominik.schulz@gauner.org>
  • Loading branch information
dominikschulz authored Mar 20, 2021
1 parent 4f96609 commit 39c4c31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 39c4c31

Please sign in to comment.