Mercurial > octave
changeset 21716:fccffef9d210
attempt to ensure that oct-conf-post.h is built early and as needed
* Makefile.am (GEN_CONFIG_INC): New variable.
($(GEN_CONFIG_INC) : %.h : %.in.h config.status): New pattern rule.
(BUILT_SOURCES): Include oct-conf-post.h in the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 16 May 2016 21:51:10 -0400 |
parents | db71f8a7d896 |
children | efdf6424003a |
files | Makefile.am |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.am Sun May 15 20:20:47 2016 -0400 +++ b/Makefile.am Mon May 16 21:51:10 2016 -0400 @@ -79,6 +79,12 @@ $(GEN_CONFIG_SHELL) : %.sh : %.in.sh config.status $(AM_V_GEN)$(SHELL) config.status $@-tmp $@ +GEN_CONFIG_INC = \ + oct-conf-post.h + +$(GEN_CONFIG_INC) : %.h : %.in.h config.status + $(AM_V_GEN)$(SHELL) config.status $@-tmp $@ + AUTOCONF_SUBST_VARS = @AUTOCONF_SUBST_VARS@ ALL_SUBST_VARS = \ $(AUTOCONF_SUBST_VARS) \ @@ -184,6 +190,7 @@ endif BUILT_SOURCES += \ + oct-conf-post.h \ octave-config.h \ run-octave \ $(DIRSTAMP_FILES)