Set DestDir

27 views
Skip to first unread message

Mihamina Rakotomandimby

unread,
Nov 30, 2020, 11:48:06 AM11/30/20
to ninja-build

Hello,

I would like to set the DESTDIR to something custom: How to?

Thank you

K. Moon

unread,
Nov 30, 2020, 12:19:24 PM11/30/20
to Mihamina Rakotomandimby, ninja-build
Ninja is a very thin build engine; it doesn't really control build-specific options like this. You could try asking on the libnice or Meson mailing lists.

--
You received this message because you are subscribed to the Google Groups "ninja-build" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ninja-build...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ninja-build/172a49aa-d8fc-43e7-94ee-cb41fb4ba2b8n%40googlegroups.com.

Konstantin Tokarev

unread,
Dec 1, 2020, 1:26:39 PM12/1/20
to K. Moon, Mihamina Rakotomandimby, ninja-build


30.11.2020, 20:19, "K. Moon" <km...@chromium.org>:
> Ninja is a very thin build engine; it doesn't really control build-specific options like this. You could try asking on the libnice or Meson mailing lists.

To clarify: in makefiles DESTDIR is usually set (or can be overridden) by setting respective environment variable when you call make. To the contrary, ninja files don't interpret environment variables at all (by design), so DESTDIR customization has to be made on higher level, i.e. by program generating ninja files.

>
> On Mon, Nov 30, 2020 at 8:48 AM Mihamina Rakotomandimby <rakotom...@gmail.com> wrote:
>> Hello,
>> Trying to compile libnice https://gitlab.freedesktop.org/libnice/libnice
>>
>> I would like to set the DESTDIR to something custom: How to?
>>
>> Thank you
>>
>> --
>> You received this message because you are subscribed to the Google Groups "ninja-build" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to ninja-build...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/ninja-build/172a49aa-d8fc-43e7-94ee-cb41fb4ba2b8n%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "ninja-build" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ninja-build...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ninja-build/CACwGi-78phnirACuZ8MyAADVw%3DMyOK%2BxzSo8UXDhUFWmv60h5g%40mail.gmail.com.


-- 
Regards,
Konstantin
Reply all
Reply to author
Forward
0 new messages