Mercurial > hg > octave-avbm
changeset 9861:cd53ecf0d79a
Correct Makefile.am so that make will halt on error when unable to build doc-cache
Subtle error where shell command A || CLEANUP was returning the exit status of
CLEANUP on an error rather than an error code because command A failed.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Tue, 24 Nov 2009 11:57:01 -0800 |
parents | c0d0b6e37a36 |
children | c0aeedd8fb86 |
files | doc/ChangeLog doc/interpreter/Makefile.am |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-11-24 Rik <octave@nomad.inbox5.com> + + * interpreter/Makefile.am: + Correct Makefile so that it halts on error when unable to build doc-cache + 2009-11-23 Rik <octave@nomad.inbox5.com> * faq/Makefile.am, interpreter/Makefile.am, liboctave/Makefile.am:
--- a/doc/interpreter/Makefile.am +++ b/doc/interpreter/Makefile.am @@ -204,7 +204,7 @@ $(MAKE) -C $(TOPDIR)/scripts DOCSTRINGS doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m - $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || rm -f doc-cache + $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || { rm -f doc-cache; exit 1; } $(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi$(BUILD_EXEEXT)