mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:44:45 +01:00
docs: Makefile: disable check rules on make cleandocs
It doesn't make sense to check for missing ABI and documents when cleaning the tree. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Breno Leitao <leitao@debian.org> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/8386afcee494c9e81d051c83235150104e3a2949.1750571906.git.mchehab+huawei@kernel.org
This commit is contained in:
parent
097fe72746
commit
30c83405e4
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
# for cleaning
|
||||
subdir- := devicetree/bindings
|
||||
|
||||
ifneq ($(MAKECMDGOALS),cleandocs)
|
||||
# Check for broken documentation file references
|
||||
ifeq ($(CONFIG_WARN_MISSING_DOCUMENTS),y)
|
||||
$(shell $(srctree)/scripts/documentation-file-ref-check --warn)
|
||||
|
|
@ -14,6 +15,7 @@ endif
|
|||
ifeq ($(CONFIG_WARN_ABI_ERRORS),y)
|
||||
$(shell $(srctree)/scripts/get_abi.py --dir $(srctree)/Documentation/ABI validate)
|
||||
endif
|
||||
endif
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXBUILD = sphinx-build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue