Mercurial > octave
diff libinterp/corefcn/module.mk @ 23722:ab9e51f41a29
substitute no-edit warning in oct-errno.in.cc
* oct-errno.in.cc: Use substitution for no-edit warning.
* mk-errno-list.sh: Handle substitution with sed here instead of in
module.mk. Substitute no-edit warning.
* module.mk: Update command for oct-errno.cc
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 30 Jun 2017 01:21:31 -0400 |
parents | d3a9ffc9fdbd |
children | 517078d102ff |
line wrap: on
line diff
--- a/libinterp/corefcn/module.mk Thu Jun 29 20:16:54 2017 -0400 +++ b/libinterp/corefcn/module.mk Fri Jun 30 01:21:31 2017 -0400 @@ -272,7 +272,7 @@ elif test -n "$(PYTHON)"; then \ $(SHELL) $(srcdir)/%reldir%/mk-errno-list.sh --python "$(PYTHON)" < $< > $@-t; \ else \ - $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@-t; \ + $(SHELL) $(srcdir)/%reldir%/mk-errno-list.sh --sed "$(SED)" < $< > $@-t; \ fi && \ mv $@-t $@