aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-06-08 23:54:22 +0000
committerGerald Combs <gerald@wireshark.org>2012-06-08 23:54:22 +0000
commit1a7470c6be25e157d8323011acae47478bcdf1ab (patch)
treead0e86a3b37cb350d4ffe3823efd2eca482de1a1 /wsutil
parentbe965bff75dc5afde81e74c8a01395af9b14e963 (diff)
Forward-port r43165 and r43168 from trunk-1.6.
------------------------------------------------------------------------ r43165 | gerald | 2012-06-08 14:23:25 -0700 (Fri, 08 Jun 2012) | 4 lines Changed paths: M /trunk-1.6/epan/Makefile.am M /trunk-1.6/wiretap/Makefile.am M /trunk-1.6/wsutil/Makefile.am Use separate commands in the dumpabi recipes instead a big huge long chain. If abi-compliance-checker fails print the contents of its log file. ------------------------------------------------------------------------ r43168 | gerald | 2012-06-08 15:43:50 -0700 (Fri, 08 Jun 2012) | 2 lines Changed paths: M /trunk-1.6/epan/Makefile.am M /trunk-1.6/wiretap/Makefile.am M /trunk-1.6/wsutil/Makefile.am Make sure ln happens in the right directory. ------------------------------------------------------------------------ We don't currently have a usable tag for "git describe --tags --abbrev=0" to latch onto so just use the first 1.9 commit. svn path=/trunk/; revision=43170
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am
index f7398a6348..e0d5ed1e9a 100644
--- a/wsutil/Makefile.am
+++ b/wsutil/Makefile.am
@@ -129,12 +129,14 @@ MAINTAINERCLEANFILES = \
# http://ispras.linux-foundation.org/index.php/ABI_compliance_checker
# Checked using version 1.21.12
dumpabi: all abi-descriptor.xml
- rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz; \
- mkdir abi-check-headers; cp ../config.h *.h abi-check-headers/; \
+ rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz
+ mkdir abi-check-headers
+ cp ../config.h *.h abi-check-headers/
abi-compliance-checker -l libwsutil -v1 `ls .libs/libwsutil.so.?.?.?|sed 's/.*\.so\.//'` \
- -relpath $(abs_srcdir) -dump-abi abi-descriptor.xml && \
- cp -f abi_dumps/libwsutil/libwsutil_* .libs/; \
- cd .libs; ln -sf libwsutil_*.abi.tar.gz libwsutil.abi.tar.gz
+ -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
checkapi:
# $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \