Mercurial > hg > octave-terminal
changeset 1980:88aa1d1ed4af
[project @ 1996-02-27 00:58:19 by jwe]
author | jwe |
---|---|
date | Tue, 27 Feb 1996 00:59:28 +0000 |
parents | d7d22af7dbd3 |
children | 03dd1c432e3b |
files | configure.in liboctave/Makefile.in src/variables.cc |
diffstat | 3 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ ### 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. -AC_REVISION($Revision: 1.166 $) +AC_REVISION($Revision: 1.167 $) AC_PREREQ(2.0) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -48,7 +48,7 @@ datadir='$(prefix)/share' libdir='$(exec_prefix)/lib' libexecdir='$(exec_prefix)/libexec' -includedir='$(prefix)/include/octave' +includedir='$(prefix)/include/octave-$(version)' mandir='$(prefix)/man/man1' infodir='$(prefix)/info' fcnfiledir='$(datadir)/octave/$(version)/m'
--- a/liboctave/Makefile.in +++ b/liboctave/Makefile.in @@ -151,6 +151,13 @@ rm -f $(includedir)/$$f ; \ $(INSTALL_DATA) $(srcdir)/$$f $(includedir)/$$f ; \ done + linkdir=`echo $(includedir) | sed 's/-$(version)$$//'` ; \ + if [ "$$linkdir" = $(includedir) ] ; then \ + true ; \ + else \ + rm -rf $$linkdir ; \ + fi ; \ + $(LN_S) $(includedir) $$linkdir .PHONY: install uninstall: