docs: Makefile: Fix make cleandocs by deleting generated .rst files
authorThorsten Blum <thorsten.blum@toblux.com>
Thu, 8 Feb 2024 14:50:01 +0000 (15:50 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 14 Feb 2024 22:43:29 +0000 (15:43 -0700)
commit7da8bdbf8f5d470cde27286879b0d77fd46f223e
tree7fa0a748f9d6cad34df2faffb7dd63aba27fa0ad
parentaf404fb1ed2a19bd30f5e50bfb4f93a42737a6eb
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
Documentation/Makefile