summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-30 06:01:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-30 06:01:36 (GMT)
commitde31dba2a563beaf59a669f640312d21dacdc115 (patch)
tree12427ec98351f44c5a327dee26a50c38448b4270
parentfa1c6a3840969cbd088df6de2db23174db998e0b (diff)
parent39cc9d8a23ee168b1a7330b4ff649d58e28e2a26 (diff)
downloadtcl-de31dba2a563beaf59a669f640312d21dacdc115.zip
tcl-de31dba2a563beaf59a669f640312d21dacdc115.tar.gz
tcl-de31dba2a563beaf59a669f640312d21dacdc115.tar.bz2
Use the same shebang comment everywhere
don't install tommath_(super)?class.h don't install directories like 8.2 and 8.3
-rw-r--r--ChangeLog8
-rw-r--r--doc/tclsh.12
-rw-r--r--tools/str2c2
-rwxr-xr-xtools/tcltk-man2html.tcl2
-rw-r--r--unix/Makefile.in2
-rw-r--r--win/Makefile.in4
6 files changed, 13 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 877eaa8..4c154d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-11-29 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * doc/tclsh.1: Use the same shebang comment everywhere.
+ * tools/str2c
+ * tools/tcltk-man2html.tcl
+ * win/Makefile.in: don't install tommath_(super)?class.h
+ * unix/Makefile.in: don't install directories like 8.2 and 8.3
+
2011-11-22 Jan Nijtmans <nijtmans@users.sf.net>
* win/tclWinPort.h: [Bug 2935503] Windows: file mtime
diff --git a/doc/tclsh.1 b/doc/tclsh.1
index f604c2e..d9fe95e 100644
--- a/doc/tclsh.1
+++ b/doc/tclsh.1
@@ -75,7 +75,7 @@ following three lines:
.CS
\fB#!/bin/sh
# the next line restarts using tclsh \e
-exec tclsh "$0" "$@"\fR
+exec tclsh "$0" ${1+"$@"}\fR
.CE
This approach has three advantages over the approach in the previous
paragraph. First, the location of the \fBtclsh\fR binary does not have
diff --git a/tools/str2c b/tools/str2c
index c761f91..971e552 100644
--- a/tools/str2c
+++ b/tools/str2c
@@ -5,7 +5,7 @@
# 1997/10 -- dl
#
# restart with tclsh \
-exec tclsh8.0 "$0" "$@"
+exec tclsh "$0" ${1+"$@"}
# Max string length
# (some C compiler have a 2048 chars limits (so 2047 real chars with
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl
index 978aa86..c6932d0 100755
--- a/tools/tcltk-man2html.tcl
+++ b/tools/tcltk-man2html.tcl
@@ -1,6 +1,6 @@
#!/bin/sh
# The next line is executed by /bin/sh, but not tcl \
-exec tclsh8.4 "$0" ${1+"$@"}
+exec tclsh "$0" ${1+"$@"}
package require Tcl 8.5
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 2238f1c..9d02515 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -742,7 +742,7 @@ install-libraries: libraries $(INSTALL_TZDATA) install-msgs
else true; \
fi; \
done;
- @for i in opt0.4 http1.0 encoding ../tcl8 ../tcl8/8.3 ../tcl8/8.4 ../tcl8/8.4/platform ../tcl8/8.5; \
+ @for i in opt0.4 http1.0 encoding ../tcl8 ../tcl8/8.4 ../tcl8/8.4/platform ../tcl8/8.5; \
do \
if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
diff --git a/win/Makefile.in b/win/Makefile.in
index af9e0a5..bd07869 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -611,7 +611,7 @@ install-libraries: libraries install-tzdata install-msgs
else true; \
fi; \
done;
- @for i in http1.0 opt0.4 encoding ../tcl8 ../tcl8/8.2 ../tcl8/8.3 ../tcl8/8.4 ../tcl8/8.4/platform ../tcl8/8.5; \
+ @for i in http1.0 opt0.4 encoding ../tcl8 ../tcl8/8.4 ../tcl8/8.4/platform ../tcl8/8.5; \
do \
if [ ! -d $(SCRIPT_INSTALL_DIR)/$$i ] ; then \
echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
@@ -624,8 +624,6 @@ install-libraries: libraries install-tzdata install-msgs
"$(GENERIC_DIR)/tclPlatDecls.h" \
"$(GENERIC_DIR)/tclTomMath.h" \
"$(GENERIC_DIR)/tclTomMathDecls.h" \
- "$(TOMMATH_DIR)/tommath_class.h" \
- "$(TOMMATH_DIR)/tommath_superclass.h" ; \
do \
$(COPY) "$$i" "$(INCLUDE_INSTALL_DIR)"; \
done;