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

Re: [PATCH 1/3] git-gui/Makefile: Replace libdir with gitgui_libdir

From
Dmitry V. Levin <ldv@altlinux.org>
Date
Sep 7, 2007, 12:44 UTC
Message-ID
<20070907124454.GD31861@basalt.office.altlinux.org>
In-Reply-To
<20070907050148.GA18160@spearce.org>
On Fri, Sep 07, 2007 at 01:01:48AM -0400, Shawn O. Pearce wrote:
Show 11 quoted lines
> "Dmitry V. Levin" <ldv@altlinux.org> wrote:
> > > "Dmitry V. Levin" <ldv@altlinux.org> wrote:
> > > > On GNU/Linux, libdir is used to mean "/usr/lib or /usr/lib64"
> > > > depending on architecture.  Different libdir meaning breaks
> > > > idiomatic expressions like rpm specfile "make libdir=%_libdir".
> > 
> > The idea is that git-gui's libdir is not a traditional arch-dependent
> > libdir's subdirectory, but rather arch-independent datadir's subdirectory.
> > That is, I see no reason to call it libdir even in standalone project.
> 
> Call it datadir then?  I see you point, and now agree with you.

I'm not sure that "datadir" is better choice than current "libdir". First, from git-gui point of view, files placed in git-gui/lib/ are rather library files than data files. Second, if top-level makefile will define "datadir", original issue will raise again. That's why I suggested to add some git-gui specific component to git-gui's libdir variable name.

-- 
ldv
Previous: Shawn O. Pearce
Message 5 of 5 in “git-gui/Makefile: Replace libdir with gitgui_libdir”
  1. 1/3 git-gui/Makefile: Replace libdir with gitgui_libdirDmitry V. Levin, Sep 5, 2007
  2. Shawn O. PearceSep 6, 2007
  3. Dmitry V. LevinSep 6, 2007
  4. Shawn O. PearceSep 7, 2007
  5. Dmitry V. LevinSep 7, 2007

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.