From 976ee2bf78788b6b130ce79601cb259ec6746478 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 18 Jul 2013 21:03:59 -0400 Subject: add stub Makefile.PL --- Makefile.PL | 16 ++++++++++++++++ dist.ini | 6 ++++++ 2 files changed, 22 insertions(+) create mode 100644 Makefile.PL diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..a98919d --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,16 @@ +# This module uses Dist::Zilla for development. This Makefile.PL will let you +# run the tests, but you are encouraged to install Dist::Zilla and the needed +# plugins if you intend on doing any serious hacking. + +use strict; +use warnings; + +use ExtUtils::MakeMaker::Dist::Zilla::Develop; + +use Devel::CallParser 'callparser1_h'; +open my $fh, '>', 'callparser1.h' or die "Couldn't write to callparser1.h"; +$fh->print(callparser1_h); + +WriteMakefile( + NAME => 'Parse::Keyword', +); diff --git a/dist.ini b/dist.ini index 1482b99..ebed4b6 100644 --- a/dist.ini +++ b/dist.ini @@ -15,4 +15,10 @@ awesome = =inc::MakeMaker [Prereqs / ConfigureRequires] Devel::CallParser = 0 +; we maintain a Makefile.PL in the repository to be able to work without dzil, +; but for the distribution we let dzil generate a Makefile.PL with the proper +; dependencies and such +[PruneFiles] +filenames = Makefile.PL + [ContributorsFromGit] -- cgit v1.2.3-54-g00ecf