3 use ExtUtils::MakeMaker;
4 $ExtUtils::MakeMaker::VERSION =~ s/_//g;
5 my @sign = (MM->can("signature_target") ? (SIGN => 1) : ());
9 NAME => 'Acme::Study::Perl',
10 AUTHOR => 'Andreas König <andreas.koenig.7os6VVqR@franz.ak.mind.de>',
11 VERSION_FROM => 'lib/Acme/Study/Perl.pm',
12 ABSTRACT_FROM => 'lib/Acme/Study/Perl.pm',
18 dist => { COMPRESS => 'gzip -9f', SUFFIX => '.gz', },
19 ($ExtUtils::MakeMaker::VERSION >= 6.4502 ?
21 # write: git push git+ssh://repo.or.cz/srv/git/acme-study-perl.git master
22 repository => "git://repo.or.cz/acme-study-perl.git",
34 $(CP) $(DISTVNAME)/META.yml ./META.yml
37 $(PERL) Makefile.PL --setversion
40 $(NOECHO) $(ECHO) 'version ' $(VERSION)
41 $(NOECHO) $(ECHO) 'release-name ' $(DISTVNAME).tar$(SUFFIX)
44 /usr/bin/perl -I../CPAN/GIT/trunk/release-lib -S release $(DISTVNAME).tar$(SUFFIX)
55 # if we depend on $(DISTVNAME).tar$(SUFFIX), then the rest of the
56 # Makefile breaks our intent to NOT remake dist
59 tar xvzf $(DISTVNAME).tar$(SUFFIX)
60 cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL
61 cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
62 cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
65 touch $(DISTVNAME)/SIGNATURE && $(CP) $(DISTVNAME)/SIGNATURE ./SIGNATURE
66 $(CP) $(DISTVNAME)/META.yml ./META.yml
67 $(CP) $(DISTVNAME)/MANIFEST ./MANIFEST
74 my $out = $self->SUPER::distdir;
75 $out =~ s/distdir :/distdir ::/g;
79 # dist_dir was the name in very old MakeMaker as of 5.005_04
82 my $out = $self->SUPER::dist_dir;
83 $out =~ s/distdir :/distdir ::/g;