From 0a8cd9d5120de7f4905006b70330e72df8aa4648 Mon Sep 17 00:00:00 2001 From: redman Date: Tue, 29 Jun 1999 21:30:51 +0000 Subject: Don't install the DLL if it wasn't being built, by checking the DLLSUFFIX variable. FossilOrigin-Name: 73668762fb28ea292a6f7affb85be23ca8f89f25 --- win/Makefile.in | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/win/Makefile.in b/win/Makefile.in index 6fedea8..96fdcf0 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -4,7 +4,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.4 1999/06/29 00:27:31 surles Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.5 1999/06/29 21:30:51 redman Exp $ TCLVERSION = @TCL_VERSION@ VERSION = @TK_VERSION@ @@ -345,11 +345,14 @@ install-binaries: @$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) @echo "Installing $(WISH)" @$(INSTALL_PROGRAM) $(WISH) $(BIN_INSTALL_DIR)/$(WISH) - @echo "Installing $(TK_DLL_FILE)" - @$(INSTALL_PROGRAM) $(TK_DLL_FILE) $(BIN_INSTALL_DIR)/$(TK_DLL_FILE) - @echo "Installing tkConfig.sh" + @if test "$(DLLSUFFIX)" != "" ; then \ + echo "Installing $(TK_DLL_FILE)" ; \ + $(INSTALL_PROGRAM) $(TK_DLL_FILE) \ + $(BIN_INSTALL_DIR)/$(TK_DLL_FILE) ; \ + fi @if test "$(TK_STUB_LIB_FILE)" != "" ; then \ if [ -f $(TK_STUB_LIB_FILE) ]; then \ + echo "Installing tkConfig.sh" ; \ $(INSTALL_DATA) tkConfig.sh $(LIB_INSTALL_DIR)/tkConfig.sh; \ echo "Installing $(TK_STUB_LIB_FILE)"; \ $(INSTALL_DATA) $(TK_STUB_LIB_FILE) \ -- cgit v0.12