From e3b537af18afa03b1f04530b42cdba5c1fc3ff97 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Tue, 8 Nov 2016 14:26:09 +0100 Subject: Build: add makeapi lint target https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti Reviewed-By: Christian Heimes --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4c54c9122..4227e2fd9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,12 +52,16 @@ endif WITH_PYLINT if WITH_JSLINT JSLINT_TARGET = jslint endif WITH_JSLINT -lint: acilint $(PYLINT_TARGET) $(JSLINT_TARGET) +lint: acilint apilint $(PYLINT_TARGET) $(JSLINT_TARGET) .PHONY: acilint acilint: cd $(srcdir); ./makeaci --validate +.PHONY: apilint +apilint: + cd $(srcdir); ./makeapi --validate + .PHONY: pylint pylint: FILES=`find $(top_srcdir) \ -- cgit