summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-06-19 18:20:18 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-06-19 18:20:18 +0300
commit17699819822354b48d7f230d9bc9a3b9233136e6 (patch)
treefbf8bceb7a4742d4bded83a8172fcd3e0a240c71 /Makefile.am
parentce3ff295a20db08a2dec887cebaff8bddff389c2 (diff)
downloadgnutls-17699819822354b48d7f230d9bc9a3b9233136e6.tar.gz
Makefile.am: files-update: support out-of-tree builds
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 5b8e80c947..bf7c46aece 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -154,9 +154,9 @@ libopts-check:
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
- $(MAKE) -C doc/manpages compare-makefile || mv doc/manpages/tmp-compare-makefile doc/manpages/Makefile.am
- $(MAKE) -C . symbol-check || mv symbols.last.tmp symbols.last
+ $(MAKE) -C doc/ compare-makefile || mv doc/tmp-compare-makefile $(srcdir)/doc/Makefile.am
+ $(MAKE) -C doc/manpages compare-makefile || mv doc/manpages/tmp-compare-makefile $(srcdir)/doc/manpages/Makefile.am
+ $(MAKE) -C . symbol-check || mv symbols.last.tmp $(srcdir)/symbols.last
@echo "******************************************************************************************"
@echo "updating autogen files in src/"
@echo "******************************************************************************************"