]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: add script and build target to check for broken file references
authorJani Nikula <jani.nikula@intel.com>
Mon, 9 Oct 2017 15:26:15 +0000 (18:26 +0300)
committerJonathan Corbet <corbet@lwn.net>
Thu, 12 Oct 2017 17:07:42 +0000 (11:07 -0600)
commit051862819433cda17920eea622717f4665a744b3
tree96a0758ef47ea1a5f876a87abf28b0849780a656
parent8948263a62b5cbb0c3905d2660c91b3b05c7d768
Documentation: add script and build target to check for broken file references

Add a simple script and build target to do a treewide grep for
references to files under Documentation, and report the non-existing
file in stderr. It tries to take into account punctuation not part of
the filename, and wildcards, but there are bound to be false positives
too. Mostly seems accurate though.

We've moved files around enough to make having this worthwhile.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/Makefile
Makefile
scripts/documentation-file-ref-check [new file with mode: 0755]