changeset 5597:e0e48ea2a93c

[project @ 2006-01-13 21:17:37 by jwe]
author jwe
date Fri, 13 Jan 2006 21:17:39 +0000
parents 6c4e4bffa622
children 86cd3d260b42
files ChangeLog Makeconf.in scripts/ChangeLog scripts/audio/Makefile.in scripts/control/base/Makefile.in scripts/control/hinf/Makefile.in scripts/control/obsolete/Makefile.in scripts/control/system/Makefile.in scripts/control/util/Makefile.in scripts/deprecated/Makefile.in scripts/elfun/Makefile.in scripts/finance/Makefile.in scripts/general/Makefile.in scripts/image/Makefile.in scripts/io/Makefile.in scripts/linear-algebra/Makefile.in scripts/miscellaneous/Makefile.in scripts/miscellaneous/dir.m scripts/optimization/Makefile.in scripts/plot/Makefile.in scripts/plot/clf.m scripts/polynomial/Makefile.in scripts/quaternion/Makefile.in scripts/set/Makefile.in scripts/signal/Makefile.in scripts/sparse/Makefile.in scripts/specfun/Makefile.in scripts/special-matrix/Makefile.in scripts/startup/Makefile.in scripts/statistics/base/Makefile.in scripts/statistics/distributions/Makefile.in scripts/statistics/models/Makefile.in scripts/statistics/tests/Makefile.in scripts/strings/Makefile.in scripts/testfun/Makefile.in scripts/time/Makefile.in src/ChangeLog src/DLD-FUNCTIONS/__gnuplot_raw__.l src/dirfns.cc
diffstat 39 files changed, 250 insertions(+), 34 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-13  John W. Eaton  <jwe@octave.org>
+
+	* Makeconf.in (do-mkpkgadd): New macro.
+
 2005-12-14  David Bateman  <dbateman@free.fr>
 
 	* Makeconf.in: Remove OCTAVE_PROG_RUNTEST.
--- a/Makeconf.in
+++ b/Makeconf.in
@@ -538,6 +538,15 @@
 $(top_srcdir)/move-if-change $@-t $@
 endef
 
+define do-mkpkgadd
+$(top_srcdir)/mkpkgadd $(srcdir) > PKG_ADD.t
+if [ -n "`cat PKG_ADD.t`" ]; then \
+  mv PKG_ADD.t PKG_ADD ; \
+else \
+  rm -f PKG_ADD.t ; \
+fi
+endef
+
 define do-script-install
 $(top_srcdir)/mkinstalldirs \
   $(addprefix $(DESTDIR), $(fcnfiledir)/$(script_sub_dir))
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,25 @@
+2006-01-13  John W. Eaton  <jwe@octave.org>
+
+	* audio/Makefile.in, control/base/Makefile.in,
+	control/hinf/Makefile.in, control/obsolete/Makefile.in,
+	control/system/Makefile.in, control/util/Makefile.in,
+	deprecated/Makefile.in, elfun/Makefile.in, finance/Makefile.in,
+	general/Makefile.in, image/Makefile.in, io/Makefile.in,
+	linear-algebra/Makefile.in, miscellaneous/Makefile.in,
+	optimization/Makefile.in, plot/Makefile.in,
+	polynomial/Makefile.in, quaternion/Makefile.in, set/Makefile.in,
+	signal/Makefile.in, sparse/Makefile.in, specfun/Makefile.in,
+	special-matrix/Makefile.in, startup/Makefile.in,
+	statistics/base/Makefile.in, statistics/distributions/Makefile.in,
+	statistics/models/Makefile.in, statistics/tests/Makefile.in,
+	strings/Makefile.in, time/Makefile.in, testfun/Makefile.in:
+	(all): Depend on PKG_ADD.
+	(PKG_ADD): New target.
+
+2006-01-13  Bill Denney  <bill@givebillmoney.com>
+
+ 	* miscellaneous/dir.m: Add @seealso{} to docstring.
+
 2006-01-13  John W. Eaton  <jwe@octave.org>
 
 	* time/etime.m: Move here from miscellaneous/etime.m.
--- a/scripts/audio/Makefile.in
+++ b/scripts/audio/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/control/base/Makefile.in
+++ b/scripts/control/base/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/control/hinf/Makefile.in
+++ b/scripts/control/hinf/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/control/obsolete/Makefile.in
+++ b/scripts/control/obsolete/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/control/system/Makefile.in
+++ b/scripts/control/system/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/control/util/Makefile.in
+++ b/scripts/control/util/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/deprecated/Makefile.in
+++ b/scripts/deprecated/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/elfun/Makefile.in
+++ b/scripts/elfun/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/finance/Makefile.in
+++ b/scripts/finance/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/general/Makefile.in
+++ b/scripts/general/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/image/Makefile.in
+++ b/scripts/image/Makefile.in
@@ -31,7 +31,7 @@
 IMAGE_FILES = $(wildcard $(srcdir)/*.img)
 IMAGE_FILES_NO_DIR = $(notdir $(IMAGE_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -54,6 +54,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/io/Makefile.in
+++ b/scripts/io/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/linear-algebra/Makefile.in
+++ b/scripts/linear-algebra/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/miscellaneous/Makefile.in
+++ b/scripts/miscellaneous/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/miscellaneous/dir.m
+++ b/scripts/miscellaneous/dir.m
@@ -39,9 +39,10 @@
 ## If @var{directory} is not a directory, return information about the
 ## named file.
 ## @var{filename}.
+##
+## @seealso{ls, stat, readdir, glob, filesep}
 ## @end deftypefn
 ##
-## @seealso{stat}
 
 ## Author: jwe
 
--- a/scripts/optimization/Makefile.in
+++ b/scripts/optimization/Makefile.in
@@ -29,7 +29,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -43,6 +43,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/plot/Makefile.in
+++ b/scripts/plot/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
new file mode 100644
--- /dev/null
+++ b/scripts/plot/clf.m
@@ -0,0 +1,30 @@
+## Copyright (C) 2005 John W. Eaton
+##
+## This file is part of Octave.
+##
+## Octave is free software; you can redistribute it and/or modify it
+## under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2, or (at your option)
+## any later version.
+##
+## Octave is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with Octave; see the file COPYING.  If not, write to the Free
+## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
+
+## -*- texinfo -*-
+## @deftypefn {Function File} {} clf
+## Clear the plot window and any titles or axis labels.  This function
+## is equivalent to @code{clearplot}.
+## @end deftypefn
+
+function clf ()
+
+  clearplot ();
+
+endfunction
--- a/scripts/polynomial/Makefile.in
+++ b/scripts/polynomial/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/quaternion/Makefile.in
+++ b/scripts/quaternion/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/set/Makefile.in
+++ b/scripts/set/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/signal/Makefile.in
+++ b/scripts/signal/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/sparse/Makefile.in
+++ b/scripts/sparse/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/specfun/Makefile.in
+++ b/scripts/specfun/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/special-matrix/Makefile.in
+++ b/scripts/special-matrix/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/startup/Makefile.in
+++ b/scripts/startup/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = # $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -64,6 +64,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/statistics/base/Makefile.in
+++ b/scripts/statistics/base/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/statistics/distributions/Makefile.in
+++ b/scripts/statistics/distributions/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/statistics/models/Makefile.in
+++ b/scripts/statistics/models/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/statistics/tests/Makefile.in
+++ b/scripts/statistics/tests/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/strings/Makefile.in
+++ b/scripts/strings/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/testfun/Makefile.in
+++ b/scripts/testfun/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/scripts/time/Makefile.in
+++ b/scripts/time/Makefile.in
@@ -27,7 +27,7 @@
 FCN_FILES = $(wildcard $(srcdir)/*.m)
 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
 
-all:
+all: PKG_ADD
 .PHONY: all
 
 install install-strip:
@@ -41,6 +41,10 @@
 clean:
 .PHONY: clean
 
+PKG_ADD: $(FCN_FILES)
+	@echo "making PKG_ADD"
+	@$(do-mkpkgadd)
+
 tags: $(SOURCES)
 	ctags $(SOURCES)
 
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,12 @@
+2006-01-13  John W. Eaton  <jwe@octave.org>
+
+	* DLD-FUNCTIONS/__gnuplot_raw__.l (Fclearplot): For compatibility,
+	also turn off hold state for current figure.
+
+2006-01-13  Bill Denney  <bill@givebillmoney.com>
+
+ 	* dirfns.cc: Add @seealso{} to docstrings.
+
 2006-01-13  John W. Eaton  <jwe@octave.org>
 
 	* help.cc (display_help_text): Use warning() to print raw Texinfo
--- a/src/DLD-FUNCTIONS/__gnuplot_raw__.l
+++ b/src/DLD-FUNCTIONS/__gnuplot_raw__.l
@@ -1693,6 +1693,12 @@
 {
   gnuplot::clear ();
 
+  octave_value_list args;
+
+  args(0) = "off";
+
+  feval ("hold", args);
+
   return octave_value_list ();
 }
 
--- a/src/dirfns.cc
+++ b/src/dirfns.cc
@@ -101,6 +101,7 @@
 Changes the current working directory to @file{~/octave}.  If the\n\
 directory does not exist, an error message is printed and the working\n\
 directory is not changed.\n\
+@seealso{mkdir, rmdir, dir}\n\
 @end deffn")
 {
   octave_value_list retval;
@@ -158,6 +159,7 @@
 The @code{dir} and @code{ls} commands are implemented by calling your\n\
 system's directory listing command, so the available options may vary\n\
 from system to system.\n\
+@seealso{dir, stat, readdir, glob, filesep}\n\
 @end deffn")
 {
   octave_value retval;
@@ -220,6 +222,7 @@
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} pwd ()\n\
 Return the current working directory.\n\
+@seealso{dir, ls}\n\
 @end deftypefn")
 {
   octave_value retval;
@@ -248,6 +251,7 @@
 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\
 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\
 system-dependent error message.\n\
+@seealso{dir, glob}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -296,6 +300,7 @@
 character strings.  Otherwise, @var{status} is 0, @var{msg} contains a\n\
 system-dependent error message, and @var{msgid} contains a unique\n\
 message identifier.\n\
+@seealso{rmdir}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -345,6 +350,7 @@
 \n\
 If the optional second parameter is suplied, recursively remove all\n\
 subdirectories as well.\n\
+@seealso{mkdir}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -394,6 +400,7 @@
 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\
 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\
 system-dependent error message.\n\
+@seealso{symlink}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -440,6 +447,7 @@
 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\
 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\
 system-dependent error message.\n\
+@seealso{link, readlink}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -487,6 +495,7 @@
 @var{symlink}, @var{err} is 0 and @var{msg} is an empty string.\n\
 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\
 system-dependent error message.\n\
+@seealso{link, symlink}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -530,6 +539,7 @@
 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\
 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\
 system-dependent error message.\n\
+@seealso{ls, dir}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -583,8 +593,8 @@
      @result{} \"/vmlinuz\"\n\
 @end group\n\
 @end example\n\
-@end deftypefn\n\
-@seealso{ls,dir}")
+@seealso{dir, ls, stat, readdir}\n\
+@end deftypefn")
 {
   octave_value retval;
 
@@ -661,6 +671,7 @@
 @defvr {Built-in Variable} filesep\n\
 The character used to separate directory names.  The value\n\
 of this variable is system dependent.\n\
+@seealso{dir, ls}\n\
 @end defvr");
 
 }