summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-06-19 18:23:14 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2018-06-19 18:23:14 +0300
commit5f9c1ddceb153eac3a9b9377368806bcf0eb4a55 (patch)
tree5ab4bca628bc0240a3b93dcc1a0786f380c37c56 /Makefile.am
parent17699819822354b48d7f230d9bc9a3b9233136e6 (diff)
downloadgnutls-5f9c1ddceb153eac3a9b9377368806bcf0eb4a55.tar.gz
Makefile.am: move autogen files update to src/Makefile.am
Move autogen'ed files update to src/Makefile.am to simplify code and support out-of-tree builds. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index bf7c46aece..f4f7e3b43f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -157,12 +157,7 @@ files-update: libopts-check
$(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 "******************************************************************************************"
- cd $(srcdir)/src/ && for i in *-args.c *-args.h;do \
- test -h $$i || cp $$i $$i.bak; \
- done
+ $(MAKE) -C src files-update
@echo "******************************************************************************************"
@echo "updated auto-generated files; please use git diff to verify the correctness of the changes"
@echo "******************************************************************************************"