Re: [PATCH] Allow building GIT in a different directory from the source directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Han-Wen Nienhuys wrote:

> From 105d331aee95c0cf3610ac0d2fd4aa7688bd5211 Mon Sep 17 00:00:00 2001

This line is not needed.

> From: Han-Wen Nienhuys <hanwen@xxxxxxxxx>
> Date: Fri, 8 Dec 2006 18:07:56 +0100
> 
> GIT can now be built in a separate builddirectory. This is done as
> follows:
> 
>   mkdir build
>   cd build
>   $my_git_dir/configure
>   make

Perhaps we should add this to INSTALL file, or to comments in either
Makefile, or configure.ac?

> In this case, configure creates an empty directory tree based on the
> source directory, and wraps Makefiles from source directory in the
> build directory.  The rest of the functionality is delivered with the
> VPATH feature of Make.
> 
> To make this work the Makefile should not mention ./ explicitly in
> rules, but rather use $< and $^ to automatically look in the source
> dir too.
> 
> perl/Makefile and perl/Makefile.PL need special massaging because perl
> is not VPATH aware.
>
> Signed-off-by: Han-Wen Nienhuys <hanwen@xxxxxxxxx>

Very nicely written commit message. Good work.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]