Skip to content

Commit

Permalink
macros.meson: Switch to meson compile / install
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Raits <[email protected]>
  • Loading branch information
ignatenkobrain authored and jpakkane committed Jun 15, 2020
1 parent c4761af commit 0a61f51
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions data/macros.meson
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 0a61f51

Please sign in to comment.