diff options
author | redman <redman> | 1999-06-29 21:30:51 (GMT) |
---|---|---|
committer | redman <redman> | 1999-06-29 21:30:51 (GMT) |
commit | 75a1ca470c7efb226ed1088cfbeae84b4a766a86 (patch) | |
tree | e16635acf78f5f27ed0e0d23c122db8e857dc90c | |
parent | a6deaad2a7bc285822f2b50a11dd19408e4545a3 (diff) | |
download | tk-75a1ca470c7efb226ed1088cfbeae84b4a766a86.zip tk-75a1ca470c7efb226ed1088cfbeae84b4a766a86.tar.gz tk-75a1ca470c7efb226ed1088cfbeae84b4a766a86.tar.bz2 |
Don't install the DLL if it wasn't being built, by checking
the DLLSUFFIX variable.
-rw-r--r-- | win/Makefile.in | 11 |
1 files 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) \ |