Re: BUG?? INSTALL MAKEFILE
- From
Ted Pavlic <ted@tedpavlic.com>
- Date
- Jan 6, 2009, 16:26 UTC
- Message-ID
- <49638625.3090109@tedpavlic.com>
- In-Reply-To
- <vpqiqosa3fc.fsf@bauges.imag.fr>
> but then realized that prefix is set to $(HOME) by default. Are you > sure you didn't edit the Makefile or run any sort of ./configure > before "make install" ?
After doing a
git clean -f
in my local git repo, I notice that:
config.mak.autogen
still exists, and inside it:
prefix = /usr/local
That file is included in the Makefile *after* prefix is set, and so if it's not updated, the Makefile will default to /usr/local.
According to the INSTALL doc, the default prefix should be ~. However, this is certainly not the case. Either the INSTALL doc needs to be updated or a new default config.mak.autogen needs to be checked in (or perhaps config.mak.autogen needs to be omitted from the repo?).
--Ted
-- Ted Pavlic <ted@tedpavlic.com>