diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2014-04-23 10:50:27 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-04-25 04:23:46 +0000 |
commit | bd38b3152d12584b9cd31d0c49706f1cebaa087a (patch) | |
tree | dd9ffd4b9f64647e9c683085b0fb73337132a7ab /ui/gtk/Makefile.am | |
parent | 748e0d4221eabab207a350640ce3f526c73afde9 (diff) |
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 'ui/gtk/Makefile.am')
-rw-r--r-- | ui/gtk/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/gtk/Makefile.am b/ui/gtk/Makefile.am index d79ba79013..89ce322430 100644 --- a/ui/gtk/Makefile.am +++ b/ui/gtk/Makefile.am @@ -87,12 +87,14 @@ endif # HAVE_DOXYGEN checkapi: checkapi-base checkapi-todo checkapi-base: - $(PERL) ../../tools/checkAPIs.pl -g deprecated-gtk -build \ + $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \ + -sourcedir=$(srcdir) \ $(WIRESHARK_CLEAN_LIBGTKUI_SRC) \ capture_if_details_dlg_win32.c checkapi-todo: - $(PERL) ../../tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ + $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ + -sourcedir=$(srcdir) \ $(WIRESHARK_GTK_SRC) \ $(WIRESHARK_TAP_SRC) \ capture_if_details_dlg_win32.c |