# HG changeset patch # User jwe # Date 1149099717 0 # Node ID 07dd13bfc0ba1f282ad89bc4e1eed361f21a040d # Parent 15b8c2aa2bf57d88638fb1c9a559688458dbc42f [project @ 2006-05-31 18:21:49 by jwe] diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba doc/ChangeLog --- a/doc/ChangeLog Sat May 27 14:02:29 2006 +0000 +++ b/doc/ChangeLog Wed May 31 18:21:57 2006 +0000 @@ -1,3 +1,10 @@ +2006-05-31 John W. Eaton + + * interpreter/images/Makefile.in (run-octave): + Use $(TOPDIR)/run-octave script to execute Octave. + (OCTAVE_BINARY, OCTAVE_SCRIPT_PATH, OCTAVE_LD_LIBRARY_PATH, + XLD_LIBRARY_PATH, SET_LD_LIBRARY_PATH): Delete variables. + 2006-04-06 Keith Goodman * interpreter/mkoctfile.1: Doc string fix. diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba doc/interpreter/images/Makefile.in --- a/doc/interpreter/images/Makefile.in Sat May 27 14:02:29 2006 +0000 +++ b/doc/interpreter/images/Makefile.in Wed May 31 18:21:57 2006 +0000 @@ -17,25 +17,11 @@ DISTFILES = Makefile.in $(SOURCES) $(IMAGES) -OCTAVE_BINARY = $(TOPDIR)/src/octave - -OCTAVE_SCRIPT_PATH = .//:$(srcdir)//:$(TOPDIR)/src//:$(top_srcdir)/scripts// - -ifeq ($(SHARED_LIBS), true) - OCTAVE_LD_LIBRARY_PATH = $(TOPDIR)/src:$(TOPDIR)/liboctave:$(TOPDIR)/libcruft - ifeq ($(@library_path_var@),) - XLD_LIBRARY_PATH = $(OCTAVE_LD_LIBRARY_PATH) - else - XLD_LIBRARY_PATH = $(OCTAVE_LD_LIBRARY_PATH):$(@library_path_var@) - endif - SET_LD_LIBRARY_PATH = @library_path_var@="$(XLD_LIBRARY_PATH)" -endif - all: $(IMAGES) .PHONY: all define run-octave - $(SET_LD_LIBRARY_PATH) $(OCTAVE_BINARY) -f -q -H -p $(OCTAVE_SCRIPT_PATH) \ + $(TOPDIR)/run-octave -f -q -H -p $(srcdir) \ --eval "$(notdir $(basename $<)) ('$(notdir $(basename $@))', '$(patsubst .%,%, $(suffix $@))')" endef diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba scripts/ChangeLog --- a/scripts/ChangeLog Sat May 27 14:02:29 2006 +0000 +++ b/scripts/ChangeLog Wed May 31 18:21:57 2006 +0000 @@ -1,3 +1,8 @@ +2006-05-31 Bill Denney + + * miscellaneous/fileparts.m, miscellaneous/fullfile.m: Add seealso. + * miscellaneous/texas_lotto.m: Fix warning message. + 2006-05-26 John W. Eaton * miscellaneous/doc.m: Also handle nargin == 0. diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba scripts/miscellaneous/fileparts.m --- a/scripts/miscellaneous/fileparts.m Sat May 27 14:02:29 2006 +0000 +++ b/scripts/miscellaneous/fileparts.m Wed May 31 18:21:57 2006 +0000 @@ -21,6 +21,7 @@ ## @deftypefn {Function File} {[@var{dir}, @var{name}, @var{ext}, @var{ver}] =} fileparts (@var{filename}) ## Return the directory, name, extension, and version components of ## @var{filename}. +## @seealso{fullfile} ## @end deftypefn function [directory, name, extension, version] = fileparts (filename) diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba scripts/miscellaneous/fullfile.m --- a/scripts/miscellaneous/fullfile.m Sat May 27 14:02:29 2006 +0000 +++ b/scripts/miscellaneous/fullfile.m Wed May 31 18:21:57 2006 +0000 @@ -20,6 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {@var{filename} =} fullfile (@var{dir1}, @var{dir2}, @dots{}, @var{file}) ## Return a complete filename constructed from the given components. +## @seealso{fileparts} ## @end deftypefn function filename = fullfile (varargin) diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba scripts/miscellaneous/texas_lotto.m --- a/scripts/miscellaneous/texas_lotto.m Sat May 27 14:02:29 2006 +0000 +++ b/scripts/miscellaneous/texas_lotto.m Wed May 31 18:21:57 2006 +0000 @@ -29,7 +29,7 @@ function picks = texas_lotto () if (nargin != 0) - warning ("win_texas_lotto: ignoring extra arguments"); + warning ("texas_lotto: ignoring extra arguments"); endif picks = zeros (1,6); diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba src/ChangeLog --- a/src/ChangeLog Sat May 27 14:02:29 2006 +0000 +++ b/src/ChangeLog Wed May 31 18:21:57 2006 +0000 @@ -1,3 +1,8 @@ +2006-05-31 John W. Eaton + + * load-path.h (load_path::set_command_line_path): Make it + additive. + 2006-05-26 John W. Eaton * load-path.cc (genpath, maybe_add_path_elts, Fgenpath, Frehash, diff -r 15b8c2aa2bf5 -r 07dd13bfc0ba src/load-path.h --- a/src/load-path.h Sat May 27 14:02:29 2006 +0000 +++ b/src/load-path.h Wed May 31 18:21:57 2006 +0000 @@ -29,6 +29,7 @@ #include #include +#include "pathsearch.h" #include "str-vec.h" class @@ -159,7 +160,10 @@ static void set_command_line_path (const std::string& p) { - command_line_path = p; + if (command_line_path.empty ()) + command_line_path = p; + else + command_line_path += dir_path::path_sep_str + p; } private: