dshb
dshb copied to clipboard
Makefile manual page path shouldn't assume Homebrew is installed
when i do the "make install" everything goes as plans and the build succeeded but there's something at then end that i don't understand;
> Check dependencies
>
> ** BUILD SUCCEEDED **
>
> mkdir -p bin
> cp build/Release/dshb bin
> strip bin/dshb
> cp bin/dshb /usr/local/bin
> cp doc/dshb.1 /usr/local/share/man/man1
> cp: /usr/local/share/man/man1: No such file or directory
> make: *** [install] Error 1
Hello @kolya009!
Sorry about the late response!
ah, believe the directory in which the Makefile
is trying to copy the manual page to is a Homebrew specific one (/usr/local/share/man
). Seems the system default is /usr/share/man
. My mistake, good catch! Should either fallback to this, or just place it there by default.
As a quick fix, you can set the MANPAGE_FOLDER
variable in the Makefile
to /usr/share/man/man1/