diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-01-24 14:13:58 +0000 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-01-24 17:33:49 +0000 |
commit | 44bc7f4fcf64429165b93bd0192bfb3ac5e08b0d (patch) | |
tree | c2c26cdd17b281f93b51062e4b8f2ed84045aaee /mkosi.build | |
parent | 5a89c7972a5ce15f299ed867834134c23695b4d9 (diff) | |
download | systemd-44bc7f4fcf64429165b93bd0192bfb3ac5e08b0d.tar.gz |
meson: Fix update-man-rules when the build dir is not a subdir of the project dir
Until now, update-man-rules assumed that the build directory was
a subdirectory of the project directory. When using mkosi, this is
not the case. We use find instead of git ls-files because git ls-files
does not seem to support outputting absolute paths.
Also, this makes update-man-rules a bit more user-friendly as new manpages
don't have to be added to the git staging area before they are processed by
update-man-rules.py.
Diffstat (limited to 'mkosi.build')
-rwxr-xr-x | mkosi.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.build b/mkosi.build index f28c2892c3..a74fc196be 100755 --- a/mkosi.build +++ b/mkosi.build @@ -97,7 +97,7 @@ if [ ! -f "$BUILDDIR"/build.ninja ] ; then fi cd "$BUILDDIR" -ninja $@ +ninja "$@" if [ "$WITH_TESTS" = 1 ] ; then for id in 1 2 3; do getent group $id > /dev/null || groupadd -g $id testgroup$id |