From 4498998f1763d673056423a73d3b3ff22f94954f Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Tue, 8 Nov 2016 15:08:58 +0100 Subject: Build: add polint target for i18n tests https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti Reviewed-By: Christian Heimes --- Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4227e2fd9..ffa5de2d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,13 +46,16 @@ rpms: dist-gzip rpmroot rpmdistdir cp $(RPMBUILD)/SRPMS/*.src.rpm $(top_builddir)/dist/srpms/ .PHONY: lint +if WITH_POLINT +POLINT_TARGET = polint +endif WITH_POLINT if WITH_PYLINT PYLINT_TARGET = pylint endif WITH_PYLINT if WITH_JSLINT JSLINT_TARGET = jslint endif WITH_JSLINT -lint: acilint apilint $(PYLINT_TARGET) $(JSLINT_TARGET) +lint: acilint apilint $(POLINT_TARGET) $(PYLINT_TARGET) $(JSLINT_TARGET) .PHONY: acilint acilint: @@ -62,6 +65,10 @@ acilint: apilint: cd $(srcdir); ./makeapi --validate +.PHONY: polint +polint: + $(MAKE) -C $(srcdir)/po validate-src-strings + .PHONY: pylint pylint: FILES=`find $(top_srcdir) \ -- cgit