[S] Change in flashrom[main]: Makefile,meson.build: Add support for Sphinx 3.x

Attention is currently required from: Anton Samsonov, Anton Samsonov, Thomas Heijligen. Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/77778?usp=email ) Change subject: Makefile,meson.build: Add support for Sphinx 3.x ...................................................................... Patch Set 5: (5 comments) Commit Message: https://review.coreboot.org/c/flashrom/+/77778/comment/af38fdce_96f0466e : PS3, Line 7: 3
The patch adds support for older 3.x versions, since 4. […] Oh I see! Maybe you can rename the title as `Makefile,meson: Add support for Sphinx versions prior to 4.0` so that it's more clear that it's adding backward compatibility
https://review.coreboot.org/c/flashrom/+/77778/comment/1c9505ba_03d7e996 : PS3, Line 13: but not on `sphinx-build` own level : upon which `meson` build relies
Alternatively, a symlink "8" may be created pointing at "man8" after the directory renaming occurs […] Oh sorry I did not react on your previous message! but yes, I agree simlink makes sense, lets keep it (especially that you wrote the code already).
Patchset: PS5: I discovered that at the moment jenkins skips sphinx-build :\ I will try to find out why, but meanwhile I assume you have tested on your environment (which is something prior 4.0), can you add test info into commit message (the sphinx version)? I will also test locally, and see maybe jenkins can have sphinx build again. File doc/sphinx-wrapper.sh: https://review.coreboot.org/c/flashrom/+/77778/comment/7b4b0eb2_b72d3c46 : PS5, Line 8: "$@" I have a question, just want to understand how it works. `$@` means all the command-line parameters, but I compare the old and new code, it seems to me that the parameters needed for this invocation of SPHINXBUILD (which is `sphinx` right?) are starting from $5 and until the end? do I miss something? https://review.coreboot.org/c/flashrom/+/77778/comment/3fd00061_7b322755 : PS5, Line 14: Can you add a comment here, saying: for sphinx versions prior to 4.0 this block renames directory from 8 to man8, since man8 expected by makefile and meson builds. I know this info is in commit message, and this is right, but for future people looking into the code, it is useful to have a comment right here too. -- To view, visit https://review.coreboot.org/c/flashrom/+/77778?usp=email To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: flashrom Gerrit-Branch: main Gerrit-Change-Id: I9cd280551a1ba4d17edb2e857d56f80431b61e1b Gerrit-Change-Number: 77778 Gerrit-PatchSet: 5 Gerrit-Owner: Anton Samsonov <devel@zxlab.ru> Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org> Gerrit-Reviewer: Thomas Heijligen <src@posteo.de> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-CC: Anton Samsonov <avscomputing@gmail.com> Gerrit-CC: Stefan Reinauer <stefan.reinauer@coreboot.org> Gerrit-Attention: Anton Samsonov <avscomputing@gmail.com> Gerrit-Attention: Thomas Heijligen <src@posteo.de> Gerrit-Attention: Anton Samsonov <devel@zxlab.ru> Gerrit-Comment-Date: Sat, 27 Jan 2024 09:12:19 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Anton Samsonov <avscomputing@gmail.com> Comment-In-Reply-To: Anastasia Klimchuk <aklm@chromium.org> Gerrit-MessageType: comment
participants (1)
-
Anastasia Klimchuk (Code Review)