Just a simple grep.
Signed-off-by: Jani Nikula <[email protected]>
---
Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Makefile b/Makefile
index c1fe02c1b565..ce283114c4aa 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,13 @@ SC_EXCLUDE := \
shellcheck:
shellcheck $(SC_EXCLUDE) dim bash_completion
+mancheck:
+ @for cmd in $$(dim list-commands); do \
+ if ! grep -q "^$$cmd" dim.rst; then \
+ echo "$$cmd not documented"; \
+ fi \
+ done
+
clean:
rm -f drm-intel.html drm-intel-flow.svg dim.html drm-misc.html
--
2.1.4
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx