Re: 026fa0d5ad Breaks installs with absolue $(gitexecdir) and $(template_dir) variables using older GNU makes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 5, 2009, 08:01 UTC
- Message-ID
- <7vprhxgvnc.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7vvdrpgvzl.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> Regardless, I think your patch to config.mak is independently good, > because the way Makefile defines these directories is without the trailing > slash, and it would be better to be consistent.
In other words, I am thinking about applying your patch after amending the log message like this.
[PATCH] config.mak.in: define paths without trailing slash
The main Makefile defines gitexecdir and template_dir without trailing
slash. config.mak.in should do the same to be consistent.Signed-off-by: Pascal Obry <pascal@obry.net>
I think the misuse of abspath is a separate issue.
The main Makefile should be made robust not to misdetect the relative vs absolute, especially because not everybody uses config.mak.autogen, and because people should be able to override these variables from the command line of make invocation and the name of the directory with or without trailing slash ought to mean the same thing.