summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordas <das>2005-07-30 06:45:30 (GMT)
committerdas <das>2005-07-30 06:45:30 (GMT)
commit298bb1b70cff6c4cd717f04eda5b7bc9bcb04358 (patch)
tree4c2f103c7acca13730caa0041e1b5d03c8dc2580 /unix
parentbe8fc500246f88a75a9d4651ae3c5293b4e23032 (diff)
downloadtk-298bb1b70cff6c4cd717f04eda5b7bc9bcb04358.zip
tk-298bb1b70cff6c4cd717f04eda5b7bc9bcb04358.tar.gz
tk-298bb1b70cff6c4cd717f04eda5b7bc9bcb04358.tar.bz2
* unix/Makefile.in (html): reverted/amended changes of 2005-07-24
that broke TkAqua 'make install'; added BUILD_HTML_FLAGS optional var like in tcl/unix/Makefile.in.
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 0b0f1a1..afa5437 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.87.2.12 2005/07/25 01:33:51 mdejong Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.87.2.13 2005/07/30 06:45:40 das Exp $
# Current Tk version; used in various names.
@@ -1463,10 +1463,13 @@ html-tk:
@EXTRA_BUILD_HTML@
BUILD_HTML = \
- @if test -f "$(TCL_EXE)"; then \
- $(TCL_EXE) $(TOOL_DIR)/tcltk-man2html.tcl --htmldir=$(HTML_INSTALL_DIR) \
- --srcdir=$(TOP_DIR)/.. ; \
- fi
+ @if test -f "$(BUILD_TCLSH)"; then \
+ @LD_LIBRARY_PATH_VAR@=$(TCL_BIN_DIR):$${@LD_LIBRARY_PATH_VAR@}; export @LD_LIBRARY_PATH_VAR@; \
+ TCL_LIBRARY=@TCL_SRC_DIR@/library; export TCL_LIBRARY; \
+ TCLSH="$(BUILD_TCLSH)"; else \
+ TCLSH="$(TCL_EXE)"; fi ;\
+ $${TCLSH} $(TOOL_DIR)/tcltk-man2html.tcl --htmldir=$(HTML_INSTALL_DIR) \
+ --srcdir=$(TOP_DIR)/.. $(BUILD_HTML_FLAGS)
#
# Target to create a Macintosh version of the distribution. This will