# HG changeset patch # User jwe # Date 858207983 0 # Node ID 1dd37f97364a1d34f538b727410b8c6c02a05c2e # Parent 502d33f2c1139dec0c5ee4b36585c2129ad2d1bc [project @ 1997-03-12 23:06:13 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Wed Mar 12 16:56:56 1997 John W. Eaton + + * Makefile.in (install-strip): Don't try to set INSTALL_PROGRAM here. + + * emacs/Makefile.in (install-strip): New target. + * dlfcn/Makefile.in: Ditto. + * examples/Makefile.in: Ditto. + Sun Mar 9 03:44:33 1997 John W. Eaton * config.h.bot (STATIC_CAST): Delete definition. diff --git a/Makefile.in b/Makefile.in --- a/Makefile.in +++ b/Makefile.in @@ -8,7 +8,8 @@ TARGETS = octave-bug mkoctfile libcruft liboctave kpathsea info dlfcn \ src scripts doc check octave.info INSTALL.OCTAVE BUGS \ - install uninstall tags TAGS dist conf-dist snapshot snapshot-version + install install-strip uninstall tags TAGS dist conf-dist \ + snapshot snapshot-version NO_DEP_TARGETS = clean mostlyclean distclean maintainer-clean @@ -21,9 +22,6 @@ $(NO_DEP_TARGETS): FORCE $(MAKE) -f octMakefile omit_deps=true $@ -install-strip: - $(MAKE) -f octMakefile INSTALL_PROGRAM='${INSTALL} -s' install - binary-dist: FORCE @if test -f configure && test -f octMakefile.in ; then \ ./configure --disable-shared --disable-dl --disable-shl ; \ diff --git a/PROJECTS b/PROJECTS --- a/PROJECTS +++ b/PROJECTS @@ -505,7 +505,8 @@ * Add an --enable-pathsearch option to configure to make it possible to configure and run without kpathsea. - * Make configure take more defaults from the environment. + * Make configure take more defaults from the environment. It should + definitely pay attention to CFLAGS, CXXFLAGS, FFLAGS, etc. * Should --enable-lite-kernel imply --enable-shared? diff --git a/dlfcn/Makefile.in b/dlfcn/Makefile.in --- a/dlfcn/Makefile.in +++ b/dlfcn/Makefile.in @@ -39,8 +39,8 @@ check: all .PHONY: check -install: all -.PHONY: install +install install-strip: all +.PHONY: install install-strip uninstall: .PHONY: uninstall diff --git a/doc/ChangeLog b/doc/ChangeLog --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,11 @@ +Wed Mar 12 17:01:02 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + * faq/Makefile.in: Ditto. + * interpreter/Makefile.in: Ditto. + * liboctave/Makefile.in: Ditto. + * refcard/Makefile.in: Ditto. + Sat Mar 1 15:23:14 1997 John W. Eaton * Version 2.0.5 released. diff --git a/doc/Makefile.in b/doc/Makefile.in --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -44,9 +44,10 @@ cd $@ ; $(MAKE) all .PHONY: $(SUBDIRS) -install uninstall clean mostlyclean distclean maintainer-clean:: +install install-strip uninstall clean mostlyclean distclean maintainer-clean:: @$(subdir-for-command) -.PHONY: install uninstall clean mostlyclean distclean maintainer-clean +.PHONY: install install-strip uninstall +.PHONY: clean mostlyclean distclean maintainer-clean tags TAGS:: $(SOURCES) $(SUBDIR_FOR_COMMAND) diff --git a/doc/faq/Makefile.in b/doc/faq/Makefile.in --- a/doc/faq/Makefile.in +++ b/doc/faq/Makefile.in @@ -49,8 +49,8 @@ FAQ.ps: FAQ.dvi -dvips -o FAQ.ps FAQ.dvi -check install uninstall: -.PHONY: check install uninstall +check install install-strip uninstall: +.PHONY: check install install-strip uninstall tags: $(SOURCES) ctags $(SOURCES) diff --git a/doc/interpreter/Makefile.in b/doc/interpreter/Makefile.in --- a/doc/interpreter/Makefile.in +++ b/doc/interpreter/Makefile.in @@ -80,7 +80,7 @@ check: all .PHONY: check -install: all +install install-strip: all $(top_srcdir)/mkinstalldirs $(man1dir) $(infodir) @if test -d $(man1dir) ; then \ rm -f $(man1dir)/octave$(man1ext) ; \ @@ -117,7 +117,7 @@ $(INSTALL_DATA) $(srcdir)/dir $(infodir)/dir ; \ fi ; \ fi -.PHONY: install +.PHONY: install install-strip uninstall: rm -f $(infodir)/octave.info* $(man1dir)/octave$(man1ext) diff --git a/doc/liboctave/Makefile.in b/doc/liboctave/Makefile.in --- a/doc/liboctave/Makefile.in +++ b/doc/liboctave/Makefile.in @@ -55,8 +55,8 @@ check: .PHONY: check -install: all -.PHONY: install +install install-strip: all +.PHONY: install install-strip uninstall: rm -f $(infodir)/liboctave.info* diff --git a/doc/refcard/Makefile.in b/doc/refcard/Makefile.in --- a/doc/refcard/Makefile.in +++ b/doc/refcard/Makefile.in @@ -51,8 +51,8 @@ refcard-letter.ps: refcard-letter.dvi -dvips -T 11in,8.5in -o refcard-letter.ps refcard-letter.dvi -check install uninstall: -.PHONY: check install uninstall +check install install-strip uninstall: +.PHONY: check install install-strip uninstall tags: $(SOURCES) ctags $(SOURCES) diff --git a/emacs/Makefile.in b/emacs/Makefile.in --- a/emacs/Makefile.in +++ b/emacs/Makefile.in @@ -31,8 +31,8 @@ all: .PHONY: all -install: -.PHONY: install +install install-strip: +.PHONY: install install-strip tags: ctags $(SOURCES) diff --git a/examples/Makefile.in b/examples/Makefile.in --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -34,11 +34,11 @@ all: .PHONY: all -install: +install install-strip: for f in $(SCRIPTS); do \ $(INSTALL_SCRIPT) $(srcdir)/$$f $(archlibdir)/$$f ; \ done -.PHONY: install +.PHONY: install install-strip tags: ctags $(SOURCES) diff --git a/glob/ChangeLog b/glob/ChangeLog --- a/glob/ChangeLog +++ b/glob/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 12 17:00:54 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + Sat Oct 12 00:17:06 1996 John W. Eaton * glob/Makefile.in (clean targets): Don't depend on clean. diff --git a/glob/Makefile.in b/glob/Makefile.in --- a/glob/Makefile.in +++ b/glob/Makefile.in @@ -71,4 +71,4 @@ glob.tar glob.tar.Z: $(MAKE) -C .. $@ -install: +install install-strip: diff --git a/info/ChangeLog b/info/ChangeLog --- a/info/ChangeLog +++ b/info/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 12 17:00:24 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + Wed Feb 26 12:30:51 1997 John W. Eaton * Makefile.in (maintainer-clean): New target. diff --git a/info/Makefile.in b/info/Makefile.in --- a/info/Makefile.in +++ b/info/Makefile.in @@ -1,5 +1,5 @@ # Makefile for texinfo/info. -*- Indented-Text -*- -# $Id: Makefile.in,v 1.41 1997-02-26 18:49:10 jwe Exp $ +# $Id: Makefile.in,v 1.42 1997-03-12 23:06:16 jwe Exp $ # # Copyright (C) 1993,96 Free Software Foundation, Inc. @@ -119,6 +119,9 @@ $(top_srcdir)/mkinstalldirs $(archlibdir) $(INSTALL_PROGRAM) info$(EXE) $(archlibdir)/info$(EXE) +install-strip: + $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install + uninstall: rm -f $(archlibdir)/info diff --git a/kpathsea/ChangeLog b/kpathsea/ChangeLog --- a/kpathsea/ChangeLog +++ b/kpathsea/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 12 17:00:16 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + Thu Feb 20 02:41:36 1997 John W. Eaton * configure.in (SH_LDFLAGS): Add -fPIC for HP-UX. diff --git a/kpathsea/Makefile.in b/kpathsea/Makefile.in --- a/kpathsea/Makefile.in +++ b/kpathsea/Makefile.in @@ -165,6 +165,9 @@ if [ -f $$f ]; then $(INSTALL_PROGRAM) $$f $(libdir)/$$f; fi; \ done +install-strip: + $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install + uninstall: # Installation of kpathsea itself is complicated by the fact that we diff --git a/libcruft/ChangeLog b/libcruft/ChangeLog --- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -1,3 +1,9 @@ +Wed Mar 12 16:59:59 1997 John W. Eaton + + * misc/Makefile.in (install-strip): New target. + + * Makefile.in (install-strip): New target. + Mon Mar 3 15:38:39 1997 John W. Eaton * ranlib/Makefile.in (EXTERNAL_DISTFILES): Add Basegen.doc. diff --git a/libcruft/Makefile.in b/libcruft/Makefile.in --- a/libcruft/Makefile.in +++ b/libcruft/Makefile.in @@ -81,7 +81,7 @@ check: all .PHONY: check -install uninstall clean mostlyclean distclean maintainer-clean:: +install install-strip uninstall clean mostlyclean distclean maintainer-clean:: @$(subdir-for-command) install:: @@ -94,6 +94,9 @@ $(INSTALL_PROGRAM) libcruft.$(SHLEXT) $(libdir)/libcruft.$(SHLEXT); \ fi +install-strip:: + $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install + uninstall:: rm -f $(libdir)/libcruft.a diff --git a/libcruft/misc/Makefile.in b/libcruft/misc/Makefile.in --- a/libcruft/misc/Makefile.in +++ b/libcruft/misc/Makefile.in @@ -37,7 +37,7 @@ include ../Makerules -install:: +install install-strip:: $(top_srcdir)/mkinstalldirs $(octincludedir) $(INSTALL_DATA) $(srcdir)/f77-fcn.h $(octincludedir)/f77-fcn.h $(INSTALL_DATA) $(srcdir)/lo-error.h $(octincludedir)/lo-error.h diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 12 16:59:49 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + Mon Mar 10 22:34:22 1997 John W. Eaton * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, diff --git a/liboctave/Makefile.in b/liboctave/Makefile.in --- a/liboctave/Makefile.in +++ b/liboctave/Makefile.in @@ -163,6 +163,10 @@ install: install-lib install-inc .PHONY: install +install-strip: + $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install +.PHONY: install-strip + install-lib: $(top_srcdir)/mkinstalldirs $(libdir) rm -f $(libdir)/liboctave.a diff --git a/liboctave/mx-inlines.cc b/liboctave/mx-inlines.cc --- a/liboctave/mx-inlines.cc +++ b/liboctave/mx-inlines.cc @@ -27,10 +27,22 @@ #include "oct-cmplx.h" -// Before you suggest it: I tried templates but they didn't work with -// gcc 2.7.2. +#define VS_OP_FCN(F, OP) \ + template \ + static inline void \ + F ## _vs (R *r, const V *v, size_t n, S s) \ + { \ + for (size_t i = 0; i < n; i++) \ + r[i] = v[i] OP s; \ + } + +VS_OP_FCN(add, +) +VS_OP_FCN(subtract, -) +VS_OP_FCN(multiply, *) +VS_OP_FCN(divide, /) #define VS_OP(F, OP, R, V, S) \ + extern template void F ## _vs (R *, const V *, size_t, S); \ static inline R * \ F (const V *v, size_t n, S s) \ { \ @@ -38,8 +50,7 @@ if (n > 0) \ { \ r = new R [n]; \ - for (size_t i = 0; i < n; i++) \ - r[i] = v[i] OP s; \ + F ## _vs (r, v, n, s); \ } \ return r; \ } @@ -55,7 +66,22 @@ VS_OPS (Complex, Complex, double) VS_OPS (Complex, Complex, Complex) +#define SV_OP_FCN(F, OP) \ + template \ + static inline void \ + F ## _sv (R *r, S s, const V *v, size_t n) \ + { \ + for (size_t i = 0; i < n; i++) \ + r[i] = s OP v[i]; \ + } \ + +SV_OP_FCN(add, +) +SV_OP_FCN(subtract, -) +SV_OP_FCN(multiply, *) +SV_OP_FCN(divide, /) + #define SV_OP(F, OP, R, S, V) \ + extern template void F ## _sv (R *, S, const V *, size_t); \ static inline R * \ F (S s, const V *v, size_t n) \ { \ @@ -63,8 +89,7 @@ if (n > 0) \ { \ r = new R [n]; \ - for (size_t i = 0; i < n; i++) \ - r[i] = s OP v[i]; \ + F ## _sv (r, s, v, n); \ } \ return r; \ } @@ -80,7 +105,22 @@ SV_OPS (Complex, Complex, double) SV_OPS (Complex, Complex, Complex) +#define VV_OP_FCN(F, OP) \ + template \ + static inline void \ + F ## _vv (R *r, const T1 *v1, const T2 *v2, size_t n) \ + { \ + for (size_t i = 0; i < n; i++) \ + r[i] = v1[i] OP v2[i]; \ + } \ + +VV_OP_FCN(add, +) +VV_OP_FCN(subtract, -) +VV_OP_FCN(multiply, *) +VV_OP_FCN(divide, /) + #define VV_OP(F, OP, R, T1, T2) \ + extern template void F ## _vv (R *, const T1 *, const T2 *, size_t); \ static inline R * \ F (const T1 *v1, const T2 *v2, size_t n) \ { \ @@ -88,8 +128,7 @@ if (n > 0) \ { \ r = new R [n]; \ - for (size_t i = 0; i < n; i++) \ - r[i] = v1[i] OP v2[i]; \ + F ## _vv (r, v1, v2, n); \ } \ return r; \ } diff --git a/octMakefile.in b/octMakefile.in --- a/octMakefile.in +++ b/octMakefile.in @@ -100,7 +100,7 @@ cd doc ; $(MAKE) ../BUGS .PHONY: BUGS -install:: +install install-strip :: $(top_srcdir)/mkinstalldirs $(DIRS_TO_MAKE) $(INSTALL_SCRIPT) octave-bug $(bindir)/octave-bug $(INSTALL_SCRIPT) mkoctfile $(bindir)/mkoctfile @@ -116,9 +116,9 @@ @echo "************************************************************" @echo "" -install uninstall tags TAGS:: +install install-strip uninstall tags TAGS:: @$(subdir-for-command) -.PHONY: install uninstall tags +.PHONY: install install-strip uninstall tags clean mostlyclean distclean maintainer-clean:: $(foreach d, $(CLEANSUBDIRS), $(do-subdir-for-command)) diff --git a/readline/ChangeLog b/readline/ChangeLog --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 12 16:59:01 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + Mon Mar 3 15:40:54 1997 John W. Eaton * Makefile.in (DISTFILES): Add config.guess, config.sub, and diff --git a/readline/Makefile.in b/readline/Makefile.in --- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -191,6 +191,9 @@ if [ -f $$f ]; then $(INSTALL_PROGRAM) $$f $(libdir)/$$f; fi; \ done +install-strip: + $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install + uninstall: # The rule for 'includes' is written funny so that the if statement diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,24 @@ +Wed Mar 12 16:57:45 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + * audio/Makefile.in: Ditto. + * control/Makefile.in: Ditto. + * elfun/Makefile.in: Ditto. + * general/Makefile.in: Ditto. + * image/Makefile.in: Ditto. + * io/Makefile.in: Ditto. + * linear-algebra/Makefile.in: Ditto. + * miscellaneous/Makefile.in: Ditto. + * plot/Makefile.in: Ditto. + * polynomial/Makefile.in: Ditto. + * set/Makefile.in: Ditto. + * signal/Makefile.in: Ditto. + * specfun/Makefile.in: Ditto. + * special-matrix/Makefile.in: Ditto. + * startup/Makefile.in: Ditto. + * statistics/Makefile.in: Ditto. + * strings/Makefile.in: Ditto. + Tue Mar 11 10:14:26 1997 John W. Eaton * elfun/coth.m: Write as cosh(x) ./ sinh(x) instead of 1 ./ tanh(x). diff --git a/scripts/Makefile.in b/scripts/Makefile.in --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -44,11 +44,12 @@ cd $@ ; $(MAKE) all .PHONY: $(SUBDIRS) -install uninstall clean mostlyclean distclean maintainer-clean:: +install install-strip uninstall clean mostlyclean distclean maintainer-clean:: @$(subdir-for-command) -.PHONY: install uninstall clean mostlyclean distclean maintainer-clean +.PHONY: install install-strip uninstall +.PHONY: clean mostlyclean distclean maintainer-clean -install:: +install install-strip:: ls -LR $(datadir)/octave $(libexecdir)/octave > $(datadir)/octave/ls-R uninstall:: diff --git a/scripts/audio/Makefile.in b/scripts/audio/Makefile.in --- a/scripts/audio/Makefile.in +++ b/scripts/audio/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/control/Makefile.in b/scripts/control/Makefile.in --- a/scripts/control/Makefile.in +++ b/scripts/control/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/elfun/Makefile.in b/scripts/elfun/Makefile.in --- a/scripts/elfun/Makefile.in +++ b/scripts/elfun/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/general/Makefile.in b/scripts/general/Makefile.in --- a/scripts/general/Makefile.in +++ b/scripts/general/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/image/Makefile.in b/scripts/image/Makefile.in --- a/scripts/image/Makefile.in +++ b/scripts/image/Makefile.in @@ -36,7 +36,7 @@ all: .PHONY: all -install: +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 ; \ @@ -48,7 +48,7 @@ $(INSTALL_DATA) $(srcdir)/$$f $(imagedir)/$$f ; \ done $(top_srcdir)/mkinstalldirs $(archlibdir) -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/io/Makefile.in b/scripts/io/Makefile.in --- a/scripts/io/Makefile.in +++ b/scripts/io/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/linear-algebra/Makefile.in b/scripts/linear-algebra/Makefile.in --- a/scripts/linear-algebra/Makefile.in +++ b/scripts/linear-algebra/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/miscellaneous/Makefile.in b/scripts/miscellaneous/Makefile.in --- a/scripts/miscellaneous/Makefile.in +++ b/scripts/miscellaneous/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/plot/Makefile.in b/scripts/plot/Makefile.in --- a/scripts/plot/Makefile.in +++ b/scripts/plot/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/polynomial/Makefile.in b/scripts/polynomial/Makefile.in --- a/scripts/polynomial/Makefile.in +++ b/scripts/polynomial/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/set/Makefile.in b/scripts/set/Makefile.in --- a/scripts/set/Makefile.in +++ b/scripts/set/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/signal/Makefile.in b/scripts/signal/Makefile.in --- a/scripts/signal/Makefile.in +++ b/scripts/signal/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/specfun/Makefile.in b/scripts/specfun/Makefile.in --- a/scripts/specfun/Makefile.in +++ b/scripts/specfun/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/special-matrix/Makefile.in b/scripts/special-matrix/Makefile.in --- a/scripts/special-matrix/Makefile.in +++ b/scripts/special-matrix/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/startup/Makefile.in b/scripts/startup/Makefile.in --- a/scripts/startup/Makefile.in +++ b/scripts/startup/Makefile.in @@ -32,7 +32,7 @@ all: .PHONY: all -install: +install install-strip: $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) if test -f $(fcnfiledir)/$(script_sub_dir)/octaverc ; then true ; \ else \ @@ -50,7 +50,7 @@ # rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ # $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ # done -.PHONY: install +.PHONY: install install-strip uninstall: # for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/statistics/Makefile.in b/scripts/statistics/Makefile.in --- a/scripts/statistics/Makefile.in +++ b/scripts/statistics/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/strings/Makefile.in b/scripts/strings/Makefile.in --- a/scripts/strings/Makefile.in +++ b/scripts/strings/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/scripts/time/Makefile.in b/scripts/time/Makefile.in --- a/scripts/time/Makefile.in +++ b/scripts/time/Makefile.in @@ -32,13 +32,13 @@ all: .PHONY: all -install: +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 -.PHONY: install +.PHONY: install install-strip uninstall: for f in $(FCN_FILES_NO_DIR) ; \ diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 12 16:57:28 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + Mon Mar 10 22:38:16 1997 John W. Eaton * Makefile.in (clean): Delete .oct files too. diff --git a/src/Makefile.in b/src/Makefile.in --- a/src/Makefile.in +++ b/src/Makefile.in @@ -248,6 +248,10 @@ install: install-bin install-oct install-lib install-inc .PHONY: install +install-strip: + $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install +.PHONY: install-strip + install-bin: $(top_srcdir)/mkinstalldirs $(bindir) rm -f $(bindir)/octave$(EXE) diff --git a/test/ChangeLog b/test/ChangeLog --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 12 16:56:41 1997 John W. Eaton + + * Makefile.in (install-strip): New target. + Sat Mar 1 15:23:14 1997 John W. Eaton * Version 2.0.5 released. diff --git a/test/Makefile.in b/test/Makefile.in --- a/test/Makefile.in +++ b/test/Makefile.in @@ -44,8 +44,8 @@ .PHONY: check -install: all -.PHONY: install +install install-strip: all +.PHONY: install install-strip uninstall: .PHONY: uninstall diff --git a/test/octave.test/eval/eval-1.m b/test/octave.test/eval/eval-1.m --- a/test/octave.test/eval/eval-1.m +++ b/test/octave.test/eval/eval-1.m @@ -1,1 +1,2 @@ +default_eval_print_flag = 1; eval ("x = 1");