From 51d15176a4434b9c47aa2b99476f3137a361d30c Mon Sep 17 00:00:00 2001 From: François Cami Date: Apr 21 2020 12:59:02 +0000 Subject: Makefile.am: add doclint to fastcheck Add doclint to fastcheck so that documentation syntax issues are caught sooner (before they hit CI). Signed-off-by: François Cami Reviewed-By: Christian Heimes --- diff --git a/Makefile.am b/Makefile.am index f52c884..4f0b05e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -327,6 +327,16 @@ yamllint: done; \ echo "-----------" +# Build & lint documentation. +# +.PHONY: doclint +doclint: + @echo -e "\nBuild and lint documentation"; + @echo "-----------"; + @$(MAKE) -C $(srcdir)/doc/ clean; + @$(MAKE) -C $(srcdir)/doc/ html; + @echo "-----------" + # Run pylint for all python files. Finds all python files/packages, skips # folders rpmbuild, freeipa-* and dist. Skip (match, but don't print) .*, # *.in, *~. Finally print all python files, including scripts that do not