summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2018-05-31 13:20:51 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2018-06-14 11:07:46 +0200
commitd9ec30d76644da512cb495a35af8ef298c84252d (patch)
tree981145091d79d5554a9e4fcc07c11e3d7d13175e
parent67cd03cf9b2c6b5e884b0acde15ac9648ab56e14 (diff)
downloadgnutls-d9ec30d76644da512cb495a35af8ef298c84252d.tar.gz
Fix distcheck issues
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rw-r--r--Makefile.am8
-rw-r--r--doc/Makefile.am6
-rw-r--r--doc/scripts/Makefile.am2
3 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 617c8c07d9..79d892b5d9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,7 +53,7 @@ endif
ACLOCAL_AMFLAGS = -I m4 -I gl/m4 -I src/libopts/m4 -I src/gl/m4 -I lib/unistring/m4
EXTRA_DIST = cfg.mk maint.mk CONTRIBUTING.md README.md LICENSE AUTHORS NEWS \
- ChangeLog THANKS INSTALL.md
+ ChangeLog THANKS INSTALL.md symbols.last
pic-check:
@echo "Checking for position dependent code"
@@ -113,8 +113,8 @@ abi-check: .prev-tag-abi.stamp
symbol-check:
@objdump -T $(builddir)/lib/.libs/libgnutls.so | grep -v ' \*UND\*' | awk '{print $$7 "@" $$6;}' | grep -v GNUTLS_FIPS140 | grep -v GNUTLS_PRIVATE | grep -v '^@' | sort -u >symbols.last.tmp
- @diff -u symbols.last symbols.last.tmp >/dev/null 2>&1; if test $$? != 0;then \
- diff -u symbols.last symbols.last.tmp | grep -v '\-\-\-' >symbols.diff.tmp 2>&1; \
+ @diff -u $(srcdir)/symbols.last symbols.last.tmp >/dev/null 2>&1; if test $$? != 0;then \
+ diff -u $(srcdir)symbols.last symbols.last.tmp | grep -v '\-\-\-' >symbols.diff.tmp 2>&1; \
if grep -e '^-' symbols.diff.tmp;then \
echo "*******************************************"; \
echo "Symbols were removed from the library."; \
@@ -146,7 +146,7 @@ libopts-check:
@echo "Checking whether included libopts matches the system's. If the"
@echo "check fails upgrade the included libopts."
@echo "*****************************************************************"
- test "`autoopts-config libsrc|cut -d '-' -f 2|sed 's/.tar.gz//'`" = "`cat src/libopts/autoopts/options.h |grep OPTIONS_VERSION_STRING|cut -d '"' -f 2|sed 's/:/./g'`"
+ test "`autoopts-config libsrc|cut -d '-' -f 2|sed 's/.tar.gz//'`" = "`cat $(srcdir)/src/libopts/autoopts/options.h |grep OPTIONS_VERSION_STRING|cut -d '"' -f 2|sed 's/:/./g'`"
files-update: libopts-check
make -C doc/ compare-makefile || mv doc/tmp-compare-makefile doc/Makefile.am
diff --git a/doc/Makefile.am b/doc/Makefile.am
index ca2c2c30a5..48f32f9ccb 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -439,11 +439,11 @@ $(FUNCS): stamp_functions
compare-exported:
rm -f tmp-exp-$@ tmp-head-$@
- for i in ../libdane/includes/gnutls/*.h ../lib/includes/gnutls/*.h;do perl scripts/getfuncs.pl <$$i >>tmp-head-$@;done
+ for i in $(top_srcdir)/libdane/includes/gnutls/*.h $(top_srcdir)/lib/includes/gnutls/*.h;do perl $(srcdir)/scripts/getfuncs.pl <$$i >>tmp-head-$@;done
sort -u tmp-head-$@ > tmp2-head-$@
mv tmp2-head-$@ tmp-head-$@
- scripts/getfuncs-map.pl <../lib/libgnutls.map >tmp-exp-$@
- scripts/getfuncs-map.pl <../libdane/libdane.map >>tmp-exp-$@
+ $(srcdir)/scripts/getfuncs-map.pl <$(top_srcdir)/lib/libgnutls.map >tmp-exp-$@
+ $(srcdir)/scripts/getfuncs-map.pl <$(top_srcdir)/libdane/libdane.map >>tmp-exp-$@
sort -u tmp-exp-$@ > tmp2-exp-$@
mv tmp2-exp-$@ tmp-exp-$@
@echo "******************************************************************************"
diff --git a/doc/scripts/Makefile.am b/doc/scripts/Makefile.am
index 4010b4f865..f7e192b98b 100644
--- a/doc/scripts/Makefile.am
+++ b/doc/scripts/Makefile.am
@@ -17,4 +17,4 @@
# along with this file; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-EXTRA_DIST = gdoc sort2.pl split-texi.pl cleanup-autogen.pl getfuncs.pl
+EXTRA_DIST = gdoc sort2.pl split-texi.pl cleanup-autogen.pl getfuncs.pl getfuncs-map.pl