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
Karl Hasselström <kha@treskal.com>
Date
Jun 18, 2006, 11:24 UTC
Message-ID
<20060618112404.GA2446@diana.vm.bytemark.co.uk>
In-Reply-To
<7vk67gbbe9.fsf@assigned-by-dhcp.cox.net>
On 2006-06-16 22:26:38 -0700, Junio C Hamano wrote:
Show 8 quoted lines
> I do not know what "stow" is about, but if it is to allow you to run
> make-install to install things in somewhere else, examine the
> result, and then move the result to the real location (implying that
> you should be able to nuke the "somewhere else" after you have done
> so), with the patch, the above sequence would install the binaries
> pointing at a wrong directory, because the second compilation would
> make them point at the temporary installation directory
> ~/usr/stow/git, not the final location ~/usr/.

GNU stow doesn't move installed programs, it just maintains symlinks to them. You install programs under /usr/local/stow/foo-4.7.11, and stow sets up symlinks to them under /usr/local. (So for example, /usr/local/bin/foo would be a symlink to /usr/local/stow/foo-4.7.11/bin/foo.) This gives you the ability to nuke an installed program cleanly. And it just works, pathwise, since the program remains in its original location.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Junio C HamanoNext: Junio C Hamano
Message 15 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.