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

Re: [RFC/PATCH] Install templates directory using mkdir -p, not install -d

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Aug 23, 2008, 19:53 UTC
Message-ID
<20080823195318.GE23800@genesis.frugalware.org>
In-Reply-To
<7vsksvy0qz.fsf@gitster.siamese.dyndns.org>
On Sat, Aug 23, 2008 at 12:44:51PM -0700, Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> I think using mkdir in blt/ area is fine, but I have doubts about not
> using $(INSTALL), which is designed to be a standard "marker" in Makefiles
> and meant to be replaceable on deficient platforms, for installing to real
> final destination directories.  IOW, I do not think the last hunk in your
> patch is a good idea.

The other method would be adding some stripped down version of GNU automake's install-sh, then we use say install-sh -d without caring about what switches 'install' has on the given platform.

At least that's how HP builds their binary git package:
http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Development/Tools/git-1.5.6.3/git-1.5.6.3-src-11.11.tar.gz+git-1.5.6.3/HPUX.Install+text
I think the mkdir one would be much simpler.
Previous: Junio C Hamano
Message 3 of 3 in “Install templates directory using mkdir -p, not install -d”
  1. Install templates directory using mkdir -p, not install -dMiklos Vajna, Aug 23, 2008
  2. Junio C HamanoAug 23, 2008
  3. Miklos VajnaAug 23, 2008

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.