macros.meson: Switch to meson compile / install

Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
pull/7333/head
Igor Raits 5 years ago committed by Jussi Pakkanen
parent c4761afa63
commit 0a61f511aa
  1. 12
      data/macros.meson

@ -22,13 +22,19 @@
--wrap-mode=%{__meson_wrap_mode} \
--auto-features=%{__meson_auto_features} \
%{_vpath_srcdir} %{_vpath_builddir} \
%{nil}}
%{nil}}
%meson_build \
%ninja_build -C %{_vpath_builddir}
%{shrink:%{__meson} compile \
-C %{_vpath_builddir} \
-j %{_smp_build_ncpus} \
%{nil}}
%meson_install \
%ninja_install -C %{_vpath_builddir}
%{shrink:DESTDIR=%{buildroot} %{__meson} install \
-C %{_vpath_builddir} \
--no-rebuild \
%{nil}}
%meson_test \
%{shrink:%{__meson} test \

Loading…
Cancel
Save