summaryrefslogtreecommitdiff
path: root/libguile
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2016-08-11 03:59:40 -0400
committerAndy Wingo <wingo@pobox.com>2017-03-01 19:31:42 +0100
commit8f7ed8abf22daf3c82b26e292b28eaf0a275e29a (patch)
tree2ad12160a9205376233fd6ff6c26ed5699371f23 /libguile
parent7a32add5dc1c5dfab8b2bd8700207d8ac776b654 (diff)
build: .x and .doc files depend on generated includes.
Fixes <https://bugs.gentoo.org/show_bug.cgi?id=590528>. * libguile/Makefile.am (BUILT_INCLUDES): New variable. (BUILT_SOURCES): Put generated .h to BUILT_INCLUDES. (DOT_X_FILES, EXTRA_DOT_X_FILES, DOT_DOC_FILES, EXTRA_DOT_DOC_FILES): Depend on $(BUILT_INCLUDES), in place of scmconfig.h which is included in $(BUILT_INCLUDES).
Diffstat (limited to 'libguile')
-rw-r--r--libguile/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/libguile/Makefile.am b/libguile/Makefile.am
index c36a7e5ef..fa602201c 100644
--- a/libguile/Makefile.am
+++ b/libguile/Makefile.am
@@ -443,9 +443,9 @@ vm-operations.h: vm-engine.c
| sed -e 's,VM_DEFINE_OP (\(.*\)).*, M (\1) \\,' >> $@
@echo '' >> $@
-BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h \
- scmconfig.h \
- vm-operations.h $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
+BUILT_INCLUDES = vm-operations.h scmconfig.h
+BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h $(BUILT_INCLUDES) \
+ $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
# Force the generation of `guile-procedures.texi' because the top-level
# Makefile expects it to be built.
@@ -754,9 +754,9 @@ SUFFIXES = .x .doc
.c.doc:
$(AM_V_SNARF)./guile-snarf-docs -o $@ $< -- $(snarfcppopts)
-$(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in version.h
+$(DOT_X_FILES) $(EXTRA_DOT_X_FILES): $(BUILT_INCLUDES) snarf.h guile-snarf.in version.h
-$(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES): scmconfig.h snarf.h guile-snarf-docs.in guile_filter_doc_snarfage$(EXEEXT)
+$(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES): $(BUILT_INCLUDES) snarf.h guile-snarf-docs.in guile_filter_doc_snarfage$(EXEEXT)
error.x: cpp-E.c
posix.x: cpp-SIG.c