Mercurial > octave
diff libinterp/corefcn/help.cc @ 28880:68e6e6f083f3 stable
doc: Correct some installation paths (bug #59236).
* doc/interpreter/func.txi,
libinterp/corefcn/fcn-info.cc (ignore_function_time_stamp): Correct path to
installed .m files.
* doc/interpreter/install.txi: Correct path to installed headers.
* libinterp/corefcn/help.cc (Finfo_file): Correct default info file location.
(Finfo_program): Correct default value.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 09 Oct 2020 15:06:55 +0200 |
parents | fab862fedf85 |
children | 5ee60b512cb8 139df373c107 |
line wrap: on
line diff
--- a/libinterp/corefcn/help.cc Fri Oct 09 13:43:42 2020 +0200 +++ b/libinterp/corefcn/help.cc Fri Oct 09 15:06:55 2020 +0200 @@ -1005,7 +1005,7 @@ Octave info file. The default value is -@file{@var{octave-home}/info/octave.info}, in +@file{@var{octave-home}/share/info/octave.info}, in which @var{octave-home} is the root directory of the Octave installation. The default value may be overridden by the environment variable @w{@env{OCTAVE_INFO_FILE}}, or the command line argument @@ -1030,14 +1030,9 @@ Query or set the internal variable that specifies the name of the info program to run. -The default value is -@file{@var{octave-home}/libexec/octave/@var{version}/exec/@var{arch}/info} -in which @var{octave-home} is the root directory of the Octave installation, -@var{version} is the Octave version number, and @var{arch} is the system -type (for example, @code{i686-pc-linux-gnu}). The default value may be -overridden by the environment variable -@w{@env{OCTAVE_INFO_PROGRAM}}, or the command line argument -@option{--info-program NAME}. +The default value is "@file{info}". The default value may be overridden by the +environment variable @w{@env{OCTAVE_INFO_PROGRAM}}, or the command line +argument @option{--info-program NAME}. When called from inside a function with the @qcode{"local"} option, the variable is changed locally for the function and any subroutines it calls.