Skip to content

Commit 6b65ae3

Browse files
committed
kbuild: Add htmlreqs target to validate and render requirements
Kernel developers are used to build documentation with make htmldocs and friends. This adds a Makefile target to build the requirements document in a similar fashion. Signed-off-by: Tobias Deiminger <tobias.deiminger@linutronix.de>
1 parent ab4df19 commit 6b65ae3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Documentation/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ endif # HAVE_SPHINX
172172
refcheckdocs:
173173
$(Q)cd $(srctree);scripts/documentation-file-ref-check
174174

175+
htmlreqs:
176+
strictdoc export $(srctree)
177+
175178
cleandocs:
176179
$(Q)rm -rf $(BUILDDIR)
177180

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ $(help-board-dirs): help-%:
17991799
# ---------------------------------------------------------------------------
18001800
DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs htmldocs-redirects \
18011801
epubdocs cleandocs linkcheckdocs dochelp refcheckdocs \
1802-
texinfodocs infodocs
1802+
texinfodocs infodocs htmlreqs
18031803
PHONY += $(DOC_TARGETS)
18041804
$(DOC_TARGETS):
18051805
$(Q)$(MAKE) $(build)=Documentation $@

0 commit comments

Comments
 (0)