Re: [Evolution-hackers] Checking installation of header files for data service components



On Mon, 2020-11-16 at 15:45 +0100, Markus Elfring via evolution-hackers
wrote:
It seems that this is not directly supported so far with the provided
version.

        Hi,
no, no, no, I do not think so.

When you tell the software that the files will be located in /a/b (in
this case by using -DCMAKE_INSTALL_PREFIX=/a/b) and then you install it
into /g/h (by using DESTDIR=/g/h make install) then it does exactly
what you told it.

Use -DCMAKE_INSTALL_PREFIX=/g/h and:
a) you'll install files where you want them to be installed
b) you do not need to (mis-)use DESTDIR at all.

If you are going to object that you intentionally want to use different
install directory in configure and then install files elsewhere and
then you intentionally want to use the files from the other location
than for which the software was configured, then you did not understand
what the DESTDIR is for. Or I did not understand it, but, from my point
of view, the [1] (for which I gave a link to earlier) tells its
intention very clearly.

I consider this "discussion" over.

        Thanks and bye,
        Milan

[1] https://www.gnu.org/prep/standards/html_node/DESTDIR.html



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