# HG changeset patch # User Mike Miller # Date 1455696366 28800 # Node ID 41e39c9b35d31854c7e1f1c01453ed723f3a771c # Parent 7abdce2ae9000170b02e04da2e0a7ca872372981 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. diff -r 7abdce2ae900 -r 41e39c9b35d3 bootstrap.conf --- 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) }