Mercurial > octave
diff scripts/module.mk @ 21281:b76955e83fe4
maint: Run all build shell scripts with SHELL as command interpreter
* Makefile.am, common.mk, doc/module.mk, libinterp/corefcn/module.mk,
libinterp/module.mk, libinterp/octave-value/module.mk,
libinterp/operators/module.mk, liboctave/module.mk, scripts/module.mk,
test/module.mk: Use $(SHELL) variable as command interpreter for all build
helper shell scripts.
* config-images.sh, config-module.sh, config-ops.sh: Use ${SHELL}
environment variable as command interpreter for move-if-change helper
script.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Tue, 16 Feb 2016 23:08:31 -0800 |
parents | 0ebb8e26ebbc |
children | 1309edb344e1 |
line wrap: on
line diff
--- a/scripts/module.mk Wed Feb 17 02:54:00 2016 -0500 +++ b/scripts/module.mk Tue Feb 16 23:08:31 2016 -0800 @@ -90,7 +90,7 @@ define PKG_ADD_FILE_TEMPLATE $(1)/PKG_ADD: $$($(2)_FCN_FILES) $$($(2)_GEN_FCN_FILES) $(1)/$(octave_dirstamp) scripts/mk-pkg-add $$(AM_V_GEN)rm -f $$@-t $$@ && \ - $$(srcdir)/scripts/mk-pkg-add $(srcdir) $$($(2)_FCN_FILES) -- $$($(2)_GEN_FCN_FILES) > $$@-t && \ + $$(SHELL) $$(srcdir)/scripts/mk-pkg-add $(srcdir) $$($(2)_FCN_FILES) -- $$($(2)_GEN_FCN_FILES) > $$@-t && \ mv $$@-t $$@ endef @@ -117,7 +117,7 @@ fi && \ $(PERL) $(srcdir)/scripts/mkdoc.pl "$(srcdir)" $(FCN_FILES) -- $(GEN_FCN_FILES) > $@-t && \ mv $@-t $@ && \ - $(top_srcdir)/build-aux/move-if-change $@ scripts/DOCSTRINGS && \ + $(SHELL) $(top_srcdir)/build-aux/move-if-change $@ scripts/DOCSTRINGS && \ touch $@ OCTAVE_INTERPRETER_TARGETS += \