~ubuntu-branches/ubuntu/saucy/libdatetime-format-mail-perl/saucy

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov, Damyan Ivanov, Joey Hess
  • Date: 2007-09-11 12:31:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070911123145-qkfgsouaxwjubrl4
Tags: 0.3001-1
[ Damyan Ivanov ]
* New upstream release
  No longer includes non-free IETF RFCs
* Added myself to Uploaders (and wrapped it)
* debian/rules:
  + Dropped unused dh_* calls
  + Moved dh_clean $stamp_files before the distclean call
  + Do not ignore distclean errors
  + Drop unneeded OPTIMIZE="..." setting
* Moved libmodule-build-perl from B-D-I to B-D

[ Joey Hess ]
* Fix watch file to deal with mangled version number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
 
1
# Note: this file was auto-generated by Module::Build::Compat version 0.03
 
2
    
2
3
    unless (eval "use Module::Build::Compat 0.02; 1" ) {
3
4
      print "This module requires Module::Build to install itself.\n";
4
5
      
7
8
        ('  Install Module::Build now from CPAN?', 'y');
8
9
      
9
10
      unless ($yn =~ /^y/i) {
10
 
        warn " *** Cannot install without Module::Build.  Exiting ...\n";
11
 
        exit 1;
 
11
        die " *** Cannot install without Module::Build.  Exiting ...\n";
12
12
      }
13
 
 
 
13
      
14
14
      require Cwd;
15
15
      require File::Spec;
16
16
      require CPAN;
17
17
      
18
18
      # Save this 'cause CPAN will chdir all over the place.
19
19
      my $cwd = Cwd::cwd();
20
 
      my $makefile = File::Spec->rel2abs($0);
21
20
      
22
21
      CPAN::Shell->install('Module::Build::Compat');
 
22
      CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
 
23
        or die "Couldn't install Module::Build, giving up.\n";
23
24
      
24
25
      chdir $cwd or die "Cannot chdir() back to $cwd: $!";
25
 
      exec $^X, $makefile, @ARGV;  # Redo now that we have Module::Build
26
26
    }
 
27
    eval "use Module::Build::Compat 0.02; 1" or die $@;
 
28
    
27
29
    Module::Build::Compat->run_build_pl(args => \@ARGV);
28
 
    Module::Build::Compat->write_makefile();
 
30
    require Module::Build;
 
31
    Module::Build::Compat->write_makefile(build_class => 'Module::Build');