This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: regenerating tclIndex


On 19 Nov 2001, Tom Tromey wrote:

> Syd> Run "make" from the source directory. Make sure tclsh is installed.
>
> That doesn't work.
> The current gdbtk/library/Makefile still references itclsh3.0.

Doh. My bad? Didn't we decide that we would just require developers to
have tclsh8.3?

So we could do something like:

Index: Makefile
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile	2001/01/03 05:34:04	1.2
+++ Makefile	2001/11/19 16:45:23
@@ -1,10 +1,10 @@

 TCL := $(wildcard *.tcl *.itcl *.ith *.itb)

-ITCL_SH = itclsh3.0
+TCLSH = tclsh8.3

 tclIndex: $(TCL) Makefile
-	echo "auto_mkindex `pwd` $(TCL)" | $(ITCL_SH)
+	echo "package require Itcl 3.0; auto_mkindex `pwd` $(TCL)" | $(TCLSH)

 tags: TAGS
 TAGS: $(TCL)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]