@@ -10,11 +10,11 @@ # All rights reserved. # # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: Makefile.in,v 1.22 2004/12/23 22:21:43 patthoyts Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.23 2004/12/23 23:51:37 patthoyts Exp $ #======================================================================== # Enumerate the names of the source files included in this package. # This will be used when a dist target is added to the Makefile. @@ -202,12 +202,17 @@ # rm -f $(DESTDIR)$(mandir)/mann/`basename $$i`; \ # $(INSTALL_DATA) $$i $(DESTDIR)$(mandir)/mann ; \ # done test: binaries libraries - echo "load $(PKG_LIB_FILE); source $(srcdir)/tls.tcl; set argv $(TESTFLAGS); source $(srcdir)/tests/all.tcl" | $(TCLSH) -# $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) + echo "load $(PKG_LIB_FILE); \ + if {![file exists tls.tcl]} { \ + file copy [file join $(srcdir) tls.tcl] tls.tcl \ + } ;\ + source [file join $(srcdir) tls.tcl]; \ + set argv $(TESTFLAGS); \ + source [file join $(srcdir) tests all.tcl]" | $(TCLSH) shell: binaries libraries @$(TCLSH) $(SCRIPT) gdb: