git-extras icon indicating copy to clipboard operation
git-extras copied to clipboard

MANPATH in the makefile

Open sharth opened this issue 16 years ago • 3 comments

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!

sharth avatar Nov 03 '10 13:11 sharth

Here's where I originally found this as a problem as well: https://github.com/mxcl/homebrew/issues/issue/3057

sharth avatar Nov 03 '10 13:11 sharth

ah, yeah very true haha. my bad.

tj avatar Nov 03 '10 14:11 tj

MANPATH -> MANPREFIX. Closed by 88d3c87f8022ed6af9c268f09b505d8ba984501b

tj avatar Nov 03 '10 14:11 tj