1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00

Merge pull request #6386 from poettering/mkosi-without-tests

mkosi: support mkosi's --without-tests switch
This commit is contained in:
Martin Pitt 2017-07-20 15:10:49 +02:00 committed by GitHub
commit 39bd1fdf7a

View File

@ -25,9 +25,10 @@
[ -z "$BUILDDIR" ] && BUILDDIR=build
export LC_CTYPE=C.UTF-8
test -f "$BUILDDIR"/build.ninja || meson "$BUILDDIR"
[ -f "$BUILDDIR"/build.ninja ] || meson "$BUILDDIR"
ninja -C "$BUILDDIR" all
ninja -C "$BUILDDIR" test
[ "$WITH_TESTS" = 0 ] || ninja -C "$BUILDDIR" test
ninja -C "$BUILDDIR" install
mkdir -p "$DESTDIR"/etc