Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile manual page path shouldn't assume Homebrew is installed #38

Open
kolya009 opened this issue May 12, 2017 · 1 comment
Open

Comments

@kolya009
Copy link

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
@beltex
Copy link
Owner

beltex commented Aug 7, 2017

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 beltex changed the title Check dependencies? Makefile manual page path shouldn't assume Homebrew is installed Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants