On Mon, Jan 13, 2014 at 2:17 PM, Werner LEMBERG <[email protected]> wrote:
> You are aware that this is not the standard incantation, right?  It
> should rather be
>
>   cd build/freetype-* \
>   && ./configure --prefix=$(PREFIX) \
>   && $(MAKE) \
>   && $(MAKE) install
>
> and we are documenting this.  BTW, it is good practice to build a
> program as non-root, then doing the installation with `sudo' or
> something similar.  If this doesn't matter to you, you might say
>
>   $(MAKE) all install
>
> instead.

Since we install to a user-accessible prefix, we don't need the sudo.
But thanks, I was aware that ./configure && make && make install is
the more common incantation, but it had also seemed to me that it was
common to have install depend on all, anyway.

>> I've come up with this, does that seem sensible?
>>
>> -install: $(PROJECT_LIBRARY)
>> +install: $(PROJECT_LIBRARY) all
>
> My gut feeling says that this is not a good idea.

Why not? If a Makefile is used to describe dependencies, then surely
building stuff is a dependency of installing it.

Cheers,

Dirkjan

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to