Mercurial > hg > octave-avbm
changeset 4225:fa4dfbc33ce5
[project @ 2002-12-18 03:07:48 by jwe]
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,23 @@ +2002-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> + + * audio/Makefile.in, control/base/Makefile.in, + control/hinf/Makefile.in, control/obsolete/Makefile.in, + control/system/Makefile.in, elfun/Makefile.in, + finance/Makefile.in, general/Makefile.in, image/Makefile.in, + io/Makefile.in, linear-algebra/Makefile.in, + miscellaneous/Makefile.in, polynomial/Makefile.in, + quaternion/Makefile.in, set/Makefile.in, signal/Makefile.in, + specfun/Makefile.in, special-matrix/Makefile.in, + statistics/base/Makefile.in, statistics/distributions/Makefile.in, + statistics/models/Makefile.in, statistics/tests/Makefile.in, + strings/Makefile.in, time/Makefile.in, plot/Makefile.in, + deprecated/Makefile.in: Use new do-script-install and + do-script-uninstall macros. + + * mkpkgadd: New script. + + * plot/close.m: New file. + 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> * image/image.m: Use -raw option for xv.
--- a/scripts/audio/Makefile.in +++ b/scripts/audio/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/control/base/Makefile.in +++ b/scripts/control/base/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/control/hinf/Makefile.in +++ b/scripts/control/hinf/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/control/obsolete/Makefile.in +++ b/scripts/control/obsolete/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/control/system/Makefile.in +++ b/scripts/control/system/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/control/util/Makefile.in +++ b/scripts/control/util/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/deprecated/Makefile.in +++ b/scripts/deprecated/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/elfun/Makefile.in +++ b/scripts/elfun/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/finance/Makefile.in +++ b/scripts/finance/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/general/Makefile.in +++ b/scripts/general/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/image/Makefile.in +++ b/scripts/image/Makefile.in @@ -37,11 +37,7 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) $(top_srcdir)/mkinstalldirs $(imagedir) for f in $(IMAGE_FILES_NO_DIR); do \ rm -f $(imagedir)/$$f; \ @@ -51,9 +47,7 @@ .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) for f in $(IMAGE_FILES_NO_DIR); \ do rm -f $(imagedir)/$$f; \ done
--- a/scripts/io/Makefile.in +++ b/scripts/io/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/linear-algebra/Makefile.in +++ b/scripts/linear-algebra/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/miscellaneous/Makefile.in +++ b/scripts/miscellaneous/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/plot/Makefile.in +++ b/scripts/plot/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
new file mode 100644 --- /dev/null +++ b/scripts/plot/close.m @@ -0,0 +1,70 @@ +## Copyright (C) 2002 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, 59 Temple Place - Suite 330, Boston, MA +## 02111-1307, USA. + +## -*- texinfo -*- +## @deftypefn {Command} {} close +## @deftypefnx {Command} {} close all +## Close the plot window(s). +## @end deftypefn + +## Author: jwe + +## mark_as_command: close + +function retval = close (arg1, arg2) + + static warned_all = false; + static warned_name = false; + static warned_handle = false; + + if (nargin == 0) + if (! warned_all) + warned_all = true; + warning ("close: unable to close only current plot window"); + endif + closeplot; + elseif (nargin == 1) + if (isstr (arg1)) + if (strcmp (arg1, "all")) + closeplot; + else + if (! warned_name) + warned_name = true; + warning ("close: unable to close plot windows by name"); + endif + endif + else + if (! warned_handle) + warned_handle = true; + warning ("close: unable to close plot windows by handle"); + endif + endif + elseif (nargin == 2 + && isstr (arg1) && strcmp (arg1, "all") + && isstr (arg2) && strcmp (arg2, "hidden")) + closeplot; + else + usage ("close [all]"); + endif + + if (nargout > 0) + retval = 1; + endif + +endfunction
--- a/scripts/polynomial/Makefile.in +++ b/scripts/polynomial/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/quaternion/Makefile.in +++ b/scripts/quaternion/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/set/Makefile.in +++ b/scripts/set/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/signal/Makefile.in +++ b/scripts/signal/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/specfun/Makefile.in +++ b/scripts/specfun/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/special-matrix/Makefile.in +++ b/scripts/special-matrix/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/statistics/base/Makefile.in +++ b/scripts/statistics/base/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/statistics/distributions/Makefile.in +++ b/scripts/statistics/distributions/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/statistics/models/Makefile.in +++ b/scripts/statistics/models/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/statistics/tests/Makefile.in +++ b/scripts/statistics/tests/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/strings/Makefile.in +++ b/scripts/strings/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean:
--- a/scripts/time/Makefile.in +++ b/scripts/time/Makefile.in @@ -33,17 +33,11 @@ .PHONY: all install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-install) .PHONY: install install-strip uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done + $(do-script-uninstall) .PHONY: uninstall clean: