Mercurial > octave
changeset 21283:41e39c9b35d3
maint: Clean up makefile fragment generation in initial bootstrap
* bootstrap.conf (bootstrap_post_import_hook): Delete makefile fragments
before generating. Use ${SHELL} environment variable (with default fallback)
as command interpreter for helper scripts.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 17 Feb 2016 00:06:06 -0800 |
parents | 7abdce2ae900 |
children | d3b265a83adc |
files | bootstrap.conf |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/bootstrap.conf Tue Feb 16 23:27:29 2016 -0800 +++ b/bootstrap.conf Wed Feb 17 00:06:06 2016 -0800 @@ -187,14 +187,17 @@ echo "generating source lists for liboctave/operators/module.mk..." - (cd liboctave/operators; ./config-ops.sh) + rm -f liboctave/operators/*-op-*.mk + (cd liboctave/operators && ${SHELL:-/bin/sh} config-ops.sh) echo "generating doc/interpreter/images.mk..." - (cd doc/interpreter; ./config-images.sh) + rm -f doc/interpreter/images.mk + (cd doc/interpreter && ${SHELL:-/bin/sh} config-images.sh) echo "generating libinterp/dldfcn/module.mk..." - (cd libinterp/dldfcn; ./config-module.sh) + rm -f libinterp/dldfcn/module.mk + (cd libinterp/dldfcn && ${SHELL:-/bin/sh} config-module.sh) }