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 <fcami@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
François Cami 2020-04-17 15:32:21 +02:00
parent 974395704a
commit 51d15176a4

View File

@ -327,6 +327,16 @@ yamllint:
done; \ done; \
echo "-----------" 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 # Run pylint for all python files. Finds all python files/packages, skips
# folders rpmbuild, freeipa-* and dist. Skip (match, but don't print) .*, # folders rpmbuild, freeipa-* and dist. Skip (match, but don't print) .*,
# *.in, *~. Finally print all python files, including scripts that do not # *.in, *~. Finally print all python files, including scripts that do not