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 --- plugins/stats_tree/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/stats_tree') diff --git a/plugins/stats_tree/Makefile.am b/plugins/stats_tree/Makefile.am index e1f00b5200..b637e5b3bb 100644 --- a/plugins/stats_tree/Makefile.am +++ b/plugins/stats_tree/Makefile.am @@ -62,4 +62,5 @@ EXTRA_DIST = \ checkapi: $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \ - $(CLEAN_SRC_FILES) $(CLEAN_HEADER_FILES) + -sourcedir=$(srcdir) \ + $(CLEAN_SRC_FILES) $(CLEAN_HEADER_FILES) -- cgit v1.2.1