]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: Fix update-man-rules when the build dir is not a subdir of the project dir 18365/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 24 Jan 2021 14:13:58 +0000 (14:13 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 24 Jan 2021 17:33:49 +0000 (17:33 +0000)
commit44bc7f4fcf64429165b93bd0192bfb3ac5e08b0d
treec2c26cdd17b281f93b51062e4b8f2ed84045aaee
parent5a89c7972a5ce15f299ed867834134c23695b4d9
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.
man/meson.build
mkosi.build