In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/c98de163de0b7ceafeda0e7348391b9eac339ecb?hp=7799b1c95519329671bb8076d40c278d03d14b0a>
- Log ----------------------------------------------------------------- commit c98de163de0b7ceafeda0e7348391b9eac339ecb Author: Craig A. Berry <[email protected]> Date: Wed Jan 21 22:04:01 2015 -0600 Fix SDBM_File clean target after ac0e53cd2e. The .dir extension is the extension of actual directory files in the file system on VMS, so putting *.dir in the clean target has us removing all the directories under ext/SDBM_file, including the t/ directory. Since the tests are in MANIFEST, a subsequent reconfigure in the same build tree would then fail its manifest check, such as when smoking multiple configurations. So let's only clean up the files created by SDBM, which end with .sdbm_dir on VMS. ----------------------------------------------------------------------- Summary of changes: ext/SDBM_File/Makefile.PL | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/SDBM_File/Makefile.PL b/ext/SDBM_File/Makefile.PL index 550cf32..ebee26e 100644 --- a/ext/SDBM_File/Makefile.PL +++ b/ext/SDBM_File/Makefile.PL @@ -3,13 +3,15 @@ use ExtUtils::MakeMaker; my $define = '-DSDBM -DDUFF'; +my $dirfext = $^O eq 'VMS' ? '.sdbm_dir' : '.dir'; + WriteMakefile( NAME => 'SDBM_File', VERSION_FROM => 'SDBM_File.pm', DEFINE => $define, INC => '-I$(PERL_INC)', # force PERL_INC dir ahead of system -I's OBJECT => '$(O_FILES)', - clean => {'FILES' => 'dbu dbd dba dbe x-dbu *.dir *.pag'}, + clean => {'FILES' => "dbu dbd dba dbe x-dbu *${dirfext} *.pag"}, H => [qw(tune.h sdbm.h pair.h $(PERL_INC)/config.h)], C => [qw(SDBM_File.c sdbm.c pair.c hash.c)], ); -- Perl5 Master Repository
