git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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>
Previous: Mike RalphsonNext: Matthieu Moy
Message 4 of 8 in “BUG?? INSTALL MAKEFILE”
  1. Lars SadauJan 6, 2009
  2. Matthieu MoyJan 6, 2009
  3. Mike RalphsonJan 6, 2009
  4. Ted PavlicJan 6, 2009
  5. Matthieu MoyJan 6, 2009
  6. Lars SadauJan 7, 2009
  7. Daniel BarkalowJan 6, 2009
  8. Ted PavlicJan 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.