aboutsummaryrefslogtreecommitdiff
path: root/Clean.tcl
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-05-06 16:22:20 +0000
committerRob Savoye <rob@welcomehome.org>2001-05-06 16:22:20 +0000
commitee37e3e22012ecee8b3d1d243378ce19a03689e3 (patch)
tree008acffabe6121789ecdc575da9aa8beee9565c6 /Clean.tcl
parentca94f15320ca1c1bd31020459f4751ab512b217c (diff)
downloaddejagnu-ee37e3e22012ecee8b3d1d243378ce19a03689e3.zip
dejagnu-ee37e3e22012ecee8b3d1d243378ce19a03689e3.tar.gz
dejagnu-ee37e3e22012ecee8b3d1d243378ce19a03689e3.tar.bz2
* debian/rules: Install all the doc formats.dejagnu-1.4.1-release
* redhat/dejagnu.spec: Install all the doc formats. * Clean.tcl: Also nuke all Emacs backup files. * Makefile.am: Fix dependencies on tarball target. Add new target to build Debian packages. Add $(includedir) to install-data-local target so dejagnu.h gets installed in the right place. * doc/Makefile.am: Make all paths absolute, cause some versions of the db2* tools are braindead. * doc/overview.sgml: Update version numbers and log. * doc/user.sgml: Add mention of dejagnu.h header file. * doc/ref.sgml: Add chapter on dejagnu.h header file for unit testing. * config/default.exp: New file for default config settings for simple native testsuites that don't need anything else. * lib/dejagnu.exp: Add $text\r\n to all strings, to make sure we only get one line at a time. * testsuite/libdejagnu: New directory for dejagnu library test cases. * testsuite/libdejagnu/unit.cc: Test case for dejagnu.h. * testsuite/libdejagnu/tunit.exp: Test driver for dejagnu.h. * testsuite/libdejagnu/Makefile.am: New makefile to build the test case. * testsuite/libdejagnu/Makefile.in: Generated. * testsuite/Makefile.am: Add libdejagnu to SUBDIRS. Replace the site.exp rule, cause we don't want the $tool setting, so we run all the test suites. Don't pass the tool name for "make check". * configure.in: Add testsuite/libdejagnu/Makefile to AC_OUTPUT.
Diffstat (limited to 'Clean.tcl')
-rwxr-xr-xClean.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Clean.tcl b/Clean.tcl
index a5366ad..97782f5 100755
--- a/Clean.tcl
+++ b/Clean.tcl
@@ -125,6 +125,7 @@ proc cleanfiles { directory } {
append allfiles " [glob -nocomplain "$directory/core"]"
append allfiles " [glob -nocomplain "$directory/CVS"]"
append allfiles " [glob -nocomplain "$directory/RCS"]"
+ append allfiles " [glob -nocomplain "$directory/.\#*"]"
} else {
# read in the .clean file, line by line
while { [gets $cleanfile cur_line]>=0 } {
@@ -154,7 +155,7 @@ proc cleanfiles { directory } {
# nuke the files
if { [string length $allfiles] > 0 } {
verbose "Removing \"$allfiles\" from $directory"
- catch "exec rm -f $allfiles"
+ catch "exec rm -fr $allfiles"
} else {
verbose "Nothing to remove from $directory" 2
}