Re: [PATCH] C implementation of the 'git' program.
Hi,
exon@op5.se (Andreas Ericsson) writes:
[snip]
Show 5 quoted lines
> As a nice side-effect, the patch also fixes the problem with
> make
> make prefix=/usr install
>
> Signed-off-by: Andreas Ericsson <ae@op5.se>
> +# Force rebuild so that "make prefix=<something> install" Just Works.
> +.PHONY: git
This is bad, since it does the wrong thing for the correct way:
make prefix=/usr
sudo make prefix=/usr install
With your patch 'git' will be compiled as root.
- Hari