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.