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

Re: better way to find Git.pm officially?

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 29, 2012, 06:45 UTC
Message-ID
<7vwr63rjku.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120329061336.GE27604@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I always assumed that it was the responsibility of the user or the
> packager to put Git.pm into a sane place that is found by perl's normal
> lookup (possibly via the user's PERL5LIB if it is a per-user
> installation).
Unfortunately, not really.
See what this target does in our Makefile:
	$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl

Our scripts know where INSTLIBDIR is, so that we can redirect INSTLIBDIR to whatever directory that the packager or the user wants to, which may be outside the usual PERL5LIB.

Especially with NO_PERL_MAKEMAKER installation, perl/Makefile points at $(prefix)/lib with INSTLIBDIR, and $(prefix) is by default $(HOME), so...

Previous: Jeff King
Message 4 of 4 in “better way to find Git.pm officially?”
  1. Randal L. SchwartzMar 29, 2012
  2. André WalkerMar 29, 2012
  3. Jeff KingMar 29, 2012
  4. Junio C HamanoMar 29, 2012

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.