summaryrefslogtreecommitdiff
path: root/plugins/tpg
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2014-04-23 10:50:27 +0200
committerAnders Broman <a.broman58@gmail.com>2014-04-25 04:23:46 +0000
commitbd38b3152d12584b9cd31d0c49706f1cebaa087a (patch)
treedd9ffd4b9f64647e9c683085b0fb73337132a7ab /plugins/tpg
parent748e0d4221eabab207a350640ce3f526c73afde9 (diff)
downloadwireshark-bd38b3152d12584b9cd31d0c49706f1cebaa087a.tar.gz
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 <a.broman58@gmail.com>
Diffstat (limited to 'plugins/tpg')
-rw-r--r--plugins/tpg/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/tpg/Makefile.am b/plugins/tpg/Makefile.am
index 9cad59ccd9..d29b31660b 100644
--- a/plugins/tpg/Makefile.am
+++ b/plugins/tpg/Makefile.am
@@ -74,4 +74,6 @@ http-parser.c: http.tpg $(TPG)/tpg.pl $(TPG)/TPG.pm
$(PERL) -I$(TPG) $(TPG)/tpg.pl http.tpg
checkapi:
- $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES)
+ $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \
+ -sourcedir=$(srcdir) \
+ $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES)