Re: ninja macros

2018-10-07 Thread Neal Gompa
On Sun, Oct 7, 2018 at 2:43 PM Elan Ruusamäe  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!
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


ninja macros

2018-10-07 Thread Elan Ruusamäe

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

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en