diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-11 16:38:22 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-11 16:40:33 +0200 |
commit | 2ff366d078d368b9a6be6831f1041b4d9b995c6a (patch) | |
tree | 32a2a4e5ddbe2bc643312a634841c42f1d173a98 /Makefile.am | |
parent | 162860f7da7cb2a0d23843d289ea1718b090ba1d (diff) | |
download | libtasn1-2ff366d078d368b9a6be6831f1041b4d9b995c6a.tar.gz |
added ABI check for x86-64 as part of release process
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 5041eb9..a31301c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,5 +39,18 @@ EXTRA_DIST += cfg.mk maint.mk .clcopying gnulib-update: gnulib-tool --add-import --dir=. --lib=libgnu --source-base=lib/gllib --m4-base=lib/glm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --lgpl=2 --no-conditional-dependencies --libtool --macro-prefix=lgl --no-vc-files -dist-hook: +TMPFILE="abi-temp.xml" + +abi-check: + @rm -f $(TMPFILE) + @echo "Checking libtasn1 ABI" + @echo "<version>$(VERSION)</version>" >$(TMPFILE) + @echo "<headers>$(srcdir)/lib/libtasn1.h" >>$(TMPFILE) + @echo "$(builddir)/lib/libtasn1.h</headers>" >>$(TMPFILE) + @echo "<libs>$(builddir)/lib/.libs</libs>" >>$(TMPFILE) + test ! -f "$(srcdir)/devel/ABI-$$(uname -m).dump" || \ + abi-compliance-checker -abi -lib libtasn1 -old "$(srcdir)/devel/ABI-$$(uname -m).dump" -new $(TMPFILE) + @rm -f $(TMPFILE) + +dist-hook: abi-check make -C doc/ compare-makefile |