--- /dev/null
+#!/usr/bin/env perl
+
+use strict;
+use warnings FATAL => 'all';
+
+use ExtUtils::Manifest 'maniadd';
+
+eval { maniadd({ README => "README file (added by Distar)"}) }
+ or print "Could not add README to MANIFEST: $@\n";
\ No newline at end of file
distdir: readmefile
readmefile: create_distdir
pod2text $(VERSION_FROM) >$(DISTVNAME)/README
- $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{README} => q{README file (added by Distar)}}) } ' \
- -e ' or print "Could not add README to MANIFEST: $${'\''@'\''}\n"' --
+ $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) ../Distar/helpers/add-readme-to-manifest
END
{