Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: move scripts/documentation-file-ref-check to tools/docs

Add this script to the growing collection of documentation tools.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

+4 -6
+2 -2
Documentation/Makefile
··· 8 8 ifneq ($(MAKECMDGOALS),cleandocs) 9 9 # Check for broken documentation file references 10 10 ifeq ($(CONFIG_WARN_MISSING_DOCUMENTS),y) 11 - $(shell $(srctree)/scripts/documentation-file-ref-check --warn) 11 + $(shell $(srctree)/tools/docs/documentation-file-ref-check --warn) 12 12 endif 13 13 14 14 # Check for broken ABI files ··· 78 78 @tools/docs/gen-redirects.py --output $(BUILDDIR) < $< 79 79 80 80 refcheckdocs: 81 - $(Q)cd $(srctree);scripts/documentation-file-ref-check 81 + $(Q)cd $(srctree); tools/docs/documentation-file-ref-check 82 82 83 83 cleandocs: 84 84 $(Q)rm -rf $(BUILDDIR)
-2
MAINTAINERS
··· 7411 7411 P: Documentation/doc-guide/maintainer-profile.rst 7412 7412 T: git git://git.lwn.net/linux.git docs-next 7413 7413 F: Documentation/ 7414 - F: scripts/documentation-file-ref-check 7415 7414 F: scripts/get_abi.py 7416 7415 F: scripts/kernel-doc* 7417 7416 F: scripts/lib/abi/* ··· 7450 7451 L: linux-doc@vger.kernel.org 7451 7452 S: Maintained 7452 7453 F: Documentation/sphinx/parse-headers.pl 7453 - F: scripts/documentation-file-ref-check 7454 7454 F: tools/docs/sphinx-pre-install 7455 7455 7456 7456 DOCUMENTATION/ITALIAN
+1 -1
scripts/documentation-file-ref-check tools/docs/documentation-file-ref-check
··· 17 17 ); 18 18 19 19 my $scriptname = $0; 20 - $scriptname =~ s,.*/([^/]+/),$1,; 20 + $scriptname =~ s,tools/docs/([^/]+/),$1,; 21 21 22 22 # Parse arguments 23 23 my $help = 0;
+1 -1
tools/docs/sphinx-pre-install
··· 313 313 Right now, we still need Perl for doc build, as it is required 314 314 by some tools called at docs or kernel build time, like: 315 315 316 - scripts/documentation-file-ref-check 316 + tools/docs/documentation-file-ref-check 317 317 318 318 Also, checkpatch is on Perl. 319 319 """