Re: [RFC PATCH] Makefile: point out "make" if "make configure" fails
On Mon, 11 Oct 2010, Ævar Arnfjörð Bjarmason wrote:
Show 18 quoted lines
> Someone trying to build Git may think the need autoconf when "make
> configure && ./configure && make" fails. But actually they can
> probably just run "make" directly.
>
> Change the "make configure" output so that when it fails the user is
> informed of this:
>
> make configure && ./configure && make
> GEN configure
> ERROR: We couldn't run autoconf for you. But you're in luck!
> ERROR: Git doesn't actually need autoconf to build. Just try
> ERROR: running "make" directly at the top-level. The Makefile
> ERROR: will guess your configuration based on your OS. If that
> ERROR: doesn't work try installing autoconf and running
> ERROR: "make configure && ./configure && make" again.
> make: *** [configure] Error 1
>
> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
--
Jakub Narebski
Poland