diff options
author | Rémy Léone <remy.leone@gmail.com> | 2017-02-15 15:16:35 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-02-16 01:22:47 +0300 |
commit | 62924fd789c6a381b772141f78a82361f46ae397 (patch) | |
tree | 6a746a4b1a84681e0170ca8d849f55ed2ab2f076 /Documentation/media/Makefile | |
parent | 72f8f677e3ec685865392846c356e08771d49f13 (diff) | |
download | linux-62924fd789c6a381b772141f78a82361f46ae397.tar.xz |
Add a target to check broken external links in the Documentation
Documentation shouldn't have broken links.
sphinx linkcheck builder scans all documents for external links, tries
to open them with urllib2, and writes an overview which ones are broken
and redirected to standard output and to output.txt in the output
directory.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Rémy Léone <remy.leone@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/media/Makefile')
-rw-r--r-- | Documentation/media/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/media/Makefile b/Documentation/media/Makefile index 730d73db7c7a..9b3e70b2cab2 100644 --- a/Documentation/media/Makefile +++ b/Documentation/media/Makefile @@ -103,6 +103,7 @@ html: all epub: all xml: all latex: $(IMGPDF) all +linkcheck: clean: -rm -f $(DOTTGT) $(IMGTGT) ${TARGETS} 2>/dev/null |