diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-02-08 17:50:01 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-02-15 01:43:29 +0300 |
commit | 7da8bdbf8f5d470cde27286879b0d77fd46f223e (patch) | |
tree | 7fa0a748f9d6cad34df2faffb7dd63aba27fa0ad | |
parent | af404fb1ed2a19bd30f5e50bfb4f93a42737a6eb (diff) | |
download | linux-7da8bdbf8f5d470cde27286879b0d77fd46f223e.tar.xz |
docs: Makefile: Fix make cleandocs by deleting generated .rst files
The script tools/net/ynl/ynl-gen-rst.py (YNL_TOOL) generates several .rst
files (YNL_INDEX, YNL_RST_FILES) in Documentation/networking/netlink_spec
(YNL_RST_DIR) which are not deleted by make cleandocs.
Fix make cleandocs by deleting the generated .rst files.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240208145001.61769-1-thorsten.blum@toblux.com
-rw-r--r-- | Documentation/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index 3885bbe260eb..4479910166fc 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -176,6 +176,7 @@ refcheckdocs: $(Q)cd $(srctree);scripts/documentation-file-ref-check cleandocs: + $(Q)rm -f $(YNL_INDEX) $(YNL_RST_FILES) $(Q)rm -rf $(BUILDDIR) $(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media clean |