readme: make local file links work relative to out/

Thanks to awesome help at:
https://github.com/asciidoctor/asciidoctor/issues/3324
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-06-07 00:00:00 +00:00
parent 43ff5ced56
commit 77ef0dadf1
6 changed files with 62 additions and 17 deletions

View File

@@ -14880,20 +14880,21 @@ Source: link:build-doc[]
When running link:build-doc[], we do the following checks:
* `<<>>` inner links are not broken
* `+link:somefile[]+` links point to paths that exist via <<asciidoctor-extract-links>>. Upstream wontfix at: https://github.com/asciidoctor/asciidoctor/issues/3210
* `+link:somefile[]+` links point to paths that exist via <<asciidoctor-extract-link-targets>>. Upstream wontfix at: https://github.com/asciidoctor/asciidoctor/issues/3210
The scripts prints what you have to fix and exits with an error status if there are any errors.
===== asciidoctor-extract-links
[[asciidoctor-extract-link-targets]]
===== asciidoctor/extract-link-targets
Documentation for link:asciidoctor-extract-links[]
Documentation for link:asciidoctor/extract-link-targets[]
Extract link targets from Asciidoctor document.
Usage:
....
./asciidoctor-extract-links README.adoc
./asciidoctor/extract-link-targets README.adoc
....
Output: one link target per line.
@@ -14930,7 +14931,7 @@ ls "$(./getvar buildroot_build_dir)"
Note that host tools like QEMU and gem5 store all archs in a single directory to factor out build objects, so cleaning one arch will clean all of them.
To only nuke only one Buildroot package, we can use the link:https://buildroot.org/downloads/manual/manual.html#pkg-build-steps[]`-dirclean`] Buildroot target:
To only nuke only one Buildroot package, we can use the link:https://buildroot.org/downloads/manual/manual.html#pkg-build-steps[`-dirclean`] Buildroot target:
....
./build-buildroot --no-all -- <package-name>-dirclean