changeset 2437:61306ea5f870

[project @ 1996-10-29 23:34:45 by jwe]
author jwe
date Tue, 29 Oct 1996 23:34:56 +0000
parents a628e881be66
children adde4cb6b15d
files kpathsea/ChangeLog kpathsea/Makefile.in src/ChangeLog src/Makefile.in
diffstat 4 files changed, 16 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/kpathsea/ChangeLog
+++ b/kpathsea/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct 29 17:27:06 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* Makefile.in (SH_LIBS_TO_INSTALL): Use .$(SHLEXT), not .so.
+
 Thu Oct 24 21:31:42 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* config.guess: Update to same version as used in Octave.
--- a/kpathsea/Makefile.in
+++ b/kpathsea/Makefile.in
@@ -35,7 +35,7 @@
 
 LIBS_TO_INSTALL = libkpathsea.a
 
-SH_LIBS_TO_INSTALL = libkpathsea.so
+SH_LIBS_TO_INSTALL = libkpathsea.$(SHLEXT)
 
 default all: stamp-picdir kpsewhich MakeTeXPK kpathsea.info stamp-shared
 
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
 Tue Oct 29 15:54:27 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* Makefile.in (install-oct): Don't do anything if $(OCT_FILES) is
+	empty.
+
 	* ov-range.cc (octave_range::index): New Function.
 	(octave_range::all, octave_range::any, octave_range::is_true):
 	Make these functions work.
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -270,10 +270,14 @@
 .PHONY: install-bin
 
 install-oct:
-	$(top_srcdir)/mkinstalldirs $(octfiledir)
-	chmod a+rx mk-oct-links
-	for f in $(OCT_FILES); do $(INSTALL_DATA) $$f $(octfiledir)/$$f; done
-	./mk-oct-links $(octfiledir) $(addprefix $(srcdir)/, $(DLD_SRC))
+	if [ -n "$(OCT_FILES)" ]; then \
+	  $(top_srcdir)/mkinstalldirs $(octfiledir) ; \
+	  chmod a+rx mk-oct-links ; \
+	  for f in $(OCT_FILES); do \
+	    $(INSTALL_DATA) $$f $(octfiledir)/$$f; \
+	  done ; \
+	  ./mk-oct-links $(octfiledir) $(addprefix $(srcdir)/, $(DLD_SRC)) ; \
+	fi
 .PHONY: install-oct
 
 install-lib: