diff options
author | Igor Raits <i.gnatenko.brain@gmail.com> | 2020-06-15 19:36:47 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-06-15 23:53:41 +0300 |
commit | 0a61f511aa1960ac0d3f9b5e50e35f5f603b99b7 (patch) | |
tree | 6beed613cf3cad49759c25fe5bca51bb2c21c86f | |
parent | c4761afa634a1c3b15c1c8229cb39b3f267fd3b1 (diff) | |
download | meson-0a61f511aa1960ac0d3f9b5e50e35f5f603b99b7.zip meson-0a61f511aa1960ac0d3f9b5e50e35f5f603b99b7.tar.gz meson-0a61f511aa1960ac0d3f9b5e50e35f5f603b99b7.tar.bz2 |
macros.meson: Switch to meson compile / install
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
-rw-r--r-- | data/macros.meson | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/data/macros.meson b/data/macros.meson index 25601aa..8a66c96 100644 --- a/data/macros.meson +++ b/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 \ |