mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
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).
This commit is contained in:
parent
7a32add5dc
commit
8f7ed8abf2
1 changed files with 5 additions and 5 deletions
|
@ -443,9 +443,9 @@ vm-operations.h: vm-engine.c
|
||||||
| sed -e 's,VM_DEFINE_OP (\(.*\)).*, M (\1) \\,' >> $@
|
| sed -e 's,VM_DEFINE_OP (\(.*\)).*, M (\1) \\,' >> $@
|
||||||
@echo '' >> $@
|
@echo '' >> $@
|
||||||
|
|
||||||
BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h \
|
BUILT_INCLUDES = vm-operations.h scmconfig.h
|
||||||
scmconfig.h \
|
BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h $(BUILT_INCLUDES) \
|
||||||
vm-operations.h $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
|
$(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
|
||||||
|
|
||||||
# Force the generation of `guile-procedures.texi' because the top-level
|
# Force the generation of `guile-procedures.texi' because the top-level
|
||||||
# Makefile expects it to be built.
|
# Makefile expects it to be built.
|
||||||
|
@ -754,9 +754,9 @@ SUFFIXES = .x .doc
|
||||||
.c.doc:
|
.c.doc:
|
||||||
$(AM_V_SNARF)./guile-snarf-docs -o $@ $< -- $(snarfcppopts)
|
$(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
|
error.x: cpp-E.c
|
||||||
posix.x: cpp-SIG.c
|
posix.x: cpp-SIG.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue