Subject: | make clean does not delete output/foo. Included fix. |
make clean does not remove the testing database in output/foo. This causes binary data to be written all over my terminal when performing diffs between different versions of DBD::SQLite. This patch removes the errant database.
diff -Naur DBD-SQLite-1.07/Makefile.PL new/Makefile.PL
--- DBD-SQLite-1.07/Makefile.PL 2004-10-12 19:03:50.000000000 +1000
+++ new/Makefile.PL 2004-11-01 12:18:16.000000000 +1100
@@ -4,6 +4,7 @@
die "Your DBI Version is too old - require at least 1.03"
unless $DBI::VERSION >= 1.03;
};
+use File::Spec();
use ExtUtils::MakeMaker;
use Config;
use strict;
@@ -48,7 +49,7 @@
'DEFINE' => "-DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize}" .
($Config{d_usleep} ? " -DHAVE_USLEEP=1" : "") .
($DBI::VERSION > 1.42 ? '' : ' -Dno_last_insert_id'),
- 'clean' => { FILES => 'SQLite.xsi config.h tv.log' },
+ 'clean' => { FILES => 'SQLite.xsi config.h tv.log ' . File::Spec->catfile('output', 'foo') },
'PL_FILES' => {},
'EXE_FILES' => [],
);