git-extras
git-extras copied to clipboard
MANPATH in the makefile
Just a note, MANPATH already has a meaning in unix shells. If a user wants to add a random directory to being search by man, they add it to MANPATH. For example, in my environment, I have $MANPATH defined to
/usr/share/man:/usr/local/share/man:/Users/wlynch/Homebrew/share/man:/opt/local/man:/Library/TeX/Distributions/.DefaultTeX/Contents/Man:/usr/X11/share/man
Because you use:
MANPATH ?= ${PREFIX}/man
the Makefile will pick up my environment variable instead of using the PREFIX style one. The fix that I used was I renamed MANPATH to MANPREFIX.
Thanks!
Here's where I originally found this as a problem as well: https://github.com/mxcl/homebrew/issues/issue/3057
ah, yeah very true haha. my bad.
MANPATH -> MANPREFIX. Closed by 88d3c87f8022ed6af9c268f09b505d8ba984501b