summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorstwo@users.sourceforge.net <stwo>2009-04-24 15:07:48 (GMT)
committerstwo@users.sourceforge.net <stwo>2009-04-24 15:07:48 (GMT)
commitfff1c3eea12cffa334267adcf43db7e4b9e79a85 (patch)
tree21a491f25fdfe2ad9340c04746e2c4413fb8ef5f /unix/Makefile.in
parent9dc8b5ad6e59f41ee3bf79834898c15cc005afd4 (diff)
downloadtk-fff1c3eea12cffa334267adcf43db7e4b9e79a85.zip
tk-fff1c3eea12cffa334267adcf43db7e4b9e79a85.tar.gz
tk-fff1c3eea12cffa334267adcf43db7e4b9e79a85.tar.bz2
Don't chmod/exec installManPage. [Patch 2769530]
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in13
1 files changed, 5 insertions, 8 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 5b50f8a..6722741 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.150 2009/03/14 17:35:04 dkf Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.151 2009/04/24 15:07:48 stwo Exp $
# Current Tk version; used in various names.
@@ -190,7 +190,7 @@ NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED
# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
-SHELL = /bin/sh
+SHELL = @SHELL@
# BUILD_TCLSH is the fully qualified path name of the tclsh shell
# in the Tcl build directory. Test that need to be run in the
@@ -827,9 +827,6 @@ install-demos:
done;
install-doc:
- @if test ! -x $(UNIX_DIR)/installManPage; then \
- chmod +x $(UNIX_DIR)/installManPage; \
- fi
@for i in "$(MAN_INSTALL_DIR)" "$(MAN1_INSTALL_DIR)" "$(MAN3_INSTALL_DIR)" "$(MANN_INSTALL_DIR)" ; \
do \
if [ ! -d "$$i" ] ; then \
@@ -841,17 +838,17 @@ install-doc:
done;
@echo "Installing and cross-linking top-level (.1) docs";
@for i in $(TOP_DIR)/doc/*.1; do \
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN1_INSTALL_DIR)"; \
+ $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN1_INSTALL_DIR)"; \
done
@echo "Installing and cross-linking C API (.3) docs";
@for i in $(TOP_DIR)/doc/*.3; do \
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN3_INSTALL_DIR)"; \
+ $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MAN3_INSTALL_DIR)"; \
done
@echo "Installing and cross-linking command (.n) docs";
@for i in $(TOP_DIR)/doc/*.n; do \
- $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MANN_INSTALL_DIR)"; \
+ $(SHELL) $(UNIX_DIR)/installManPage $(MAN_FLAGS) $$i "$(MANN_INSTALL_DIR)"; \
done
# Optional target to install private headers