diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-11-08 15:08:58 +0100 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-11-09 13:08:32 +0100 |
commit | 4498998f1763d673056423a73d3b3ff22f94954f (patch) | |
tree | 045777e17b93d6cb2a1526519fa6cec9e5761b13 /Makefile.am | |
parent | e3b537af18afa03b1f04530b42cdba5c1fc3ff97 (diff) | |
download | freeipa-4498998f1763d673056423a73d3b3ff22f94954f.tar.gz freeipa-4498998f1763d673056423a73d3b3ff22f94954f.tar.xz freeipa-4498998f1763d673056423a73d3b3ff22f94954f.zip |
Build: add polint target for i18n tests
https://fedorahosted.org/freeipa/ticket/6418
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
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) \ |