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

Re: [PATCH] auto-detect changed $prefix in Makefile and properly rebuild to avoid broken install

From
YLYakov Lerner <iler.ml@gmail.com>
Date
Jun 15, 2006, 11:11 UTC
Message-ID
<f36b08ee0606150411q67fce728vad6dc0403160f95a@mail.gmail.com>
In-Reply-To
<E1Fqo70-0003pZ-PU@moooo.ath.cx>
On 6/15/06, Matthias Lederhofer <matled@gmx.net> wrote:
Show 5 quoted lines
> > Either GIT-CFLAGS or GIT-BUILD-FLAGS,
> > whichever is shorter :-)
>
> I would not take GIT-CFLAGS because there is an environment variable
> used by make named CFLAGS and means something else.

What is your preference for this filename ? Is GIT-BUILD-FLAGS better ? GIT-FLAGS ? Other ?

GIT-CFLAGS is filename here, whereas $(CFLAGS) is variable. Maybe writing it the filename ./GIT-CFLAGS would emphasize betterthat it's not make variable, but a filename ?

> What is the target test-prefix-change good for? Should it really be
> included?

The purpose of 'test-prefix-change' is to check that there are no missing GIT-FLAGS as prerequisite which would result in broken install if prefix changed between 'make' and 'make install'. The 'make test-prefix-change' would catch it if GIT-FLAGS happened to be missing in some places that if substantially dependent of $prefix.

Yakov
Previous: Matthias LederhoferNext: Petr Baudis
Message 7 of 17 in “auto-detect changed $prefix in Makefile and properly rebuild to avoid broken install”
  1. auto-detect changed $prefix in Makefile and properly rebuild to avoid broken installYakov Lerner, Jun 14, 2006
  2. Junio C HamanoJun 14, 2006
  3. Yakov LernerJun 14, 2006
  4. Junio C HamanoJun 14, 2006
  5. Yakov LernerJun 14, 2006
  6. Matthias LederhoferJun 15, 2006
  7. Yakov LernerJun 15, 2006
  8. Petr BaudisJun 18, 2006
  9. SantiJun 15, 2006
  10. Yakov LernerJun 15, 2006
  11. SantiJun 15, 2006
  12. Alexander LitvinovJun 15, 2006
  13. Junio C HamanoJun 17, 2006
  14. Junio C HamanoJun 17, 2006
  15. Karl HasselströmJun 18, 2006
  16. Junio C HamanoJun 18, 2006
  17. Karl HasselströmJun 18, 2006

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.