dshb icon indicating copy to clipboard operation
dshb copied to clipboard

Makefile manual page path shouldn't assume Homebrew is installed

Open kolya009 opened this issue 7 years ago • 1 comments

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

kolya009 avatar May 12 '17 12:05 kolya009

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/

beltex avatar Aug 07 '17 20:08 beltex