From bd38b3152d12584b9cd31d0c49706f1cebaa087a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Wed, 23 Apr 2014 10:50:27 +0200 Subject: Support out-of-source checkapi Always call $(top_srcdir)/tools/checkAPIs.pl with -sourcedir=$(srcdir) from Makefile.am to allow out-of-source 'make checkapi'. Change-Id: I60d7e0079984a8ededdacf4517a0738486fa7973 Reviewed-on: https://code.wireshark.org/review/1294 Reviewed-by: Anders Broman --- wiretap/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'wiretap/Makefile.am') diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am index c0151c6601..04900bf493 100644 --- a/wiretap/Makefile.am +++ b/wiretap/Makefile.am @@ -104,5 +104,7 @@ dumpabi-libwiretap: all abi-descriptor.xml checkapi: ## 'abort' checking disabled for now pending resolution of existing use of g_assert & g_error -## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput $(NONGENERATED_C_FILES) $(GENERATOR_FILES) - $(PERL) ../tools/checkAPIs.pl -g termoutput -build $(NONGENERATED_C_FILES) $(GENERATOR_FILES) +## $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput \ + $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \ + -sourcedir=$(srcdir) \ + $(NONGENERATED_C_FILES) $(GENERATOR_FILES) -- cgit v1.2.3