ninja macros

Neal Gompa ngompa13 at gmail.com
Sun Oct 7 20:53:20 CEST 2018


On Sun, Oct 7, 2018 at 2:43 PM Elan Ruusamäe <glen at delfi.ee> wrote:
>
> why is invoking ninja hidden behind these macros?
>
>
> %build
> %meson build
> %meson_build -C build
>
> %install
> rm -rf $RPM_BUILD_ROOT
> %meson_install -C build
>
>
> i.e %meson_build and %meson_install expand to ninja, just have %ninja
> macro out there?
>
>
> or at least %ninja_build and %ninja_install
>

I'm fairly certain that the upstream meson macros wrap %ninja_build
and %ninja_install because it's entirely possible for another backend
to replace ninja in meson in the future.

But the behavior you're describing doesn't look like the upstream macros...


-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the pld-devel-en mailing list