aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-11-25 06:28:50 +0000
committerMichael Mann <mmann78@netscape.net>2015-12-01 02:16:51 +0000
commit212f2f1761e56d9177f4282292d9281e8bb225bb (patch)
treee5c956140b3cc1423171cbd7b156d5cb710b4877 /wsutil
parentb8f90de70efa2d271274fbb48df12737f6eddd12 (diff)
autotools: Clean abi-check with maintainer-clean
Change-Id: Ia2ce54592485d2995bcfd56bd127a2fedb1a7d07 Reviewed-on: https://code.wireshark.org/review/12293 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am
index e05e29c87a..4d14a095e9 100644
--- a/wsutil/Makefile.am
+++ b/wsutil/Makefile.am
@@ -134,12 +134,19 @@ dumpabi-libwsutil: all abi-descriptor.xml
rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz
mkdir abi-check-headers
cp ../config.h ../ws_symbol_export.h $(libwsutil_abi_INCLUDES) abi-check-headers/
- abi-compliance-checker -l libwsutil -v1 `readlink .libs/libwsutil.so | sed 's/.*\.so\.//'` \
+ abi-compliance-checker -log-path abi_logs/log.txt -l libwsutil -v1 `readlink .libs/libwsutil.so | sed 's/.*\.so\.//'` \
-relpath $(abs_srcdir) -dump-abi abi-descriptor.xml || \
cat logs/libwsutil/[0-9]*/log.txt
cp -f abi_dumps/libwsutil/libwsutil_* .libs/
cd .libs && ln -sf libwsutil_*.abi.tar.gz libwsutil.abi.tar.gz
+maintainer-clean-local: clean-dumpabi-libwsutil
+
+.PHONY: clean-dumpabi-libwsutil
+
+clean-dumpabi-libwsutil:
+ rm -rf rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz abi_logs abi-descriptor.xml
+
checkapi:
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g termoutput -build \
-sourcedir=$(srcdir) \