From: Reini Urban Date: Wed, 2 Jul 2014 20:51:57 +0000 (-0500) Subject: add README make target X-Git-Tag: 0.06~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1b5160ba7f70f77be80a70dad010cdc963047bfd;p=p5sagit%2FSub-Name.git add README make target --- diff --git a/Changes b/Changes index ff8b4e3..83dcea4 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ 0.06 -- * Do not change the string arg in XS, use copy instead. Fixes perlcc -O3 RT#96893 (Reini Urban) + * add README make target 0.05 -- Wed Sep 8 00:51 CEST 2010 * Stop using the padlist to refcount GVs. Instead use regular magic. This diff --git a/Makefile.PL b/Makefile.PL index ea889a4..9699079 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -7,3 +7,9 @@ WriteMakefile( ABSTRACT_FROM => 'lib/Sub/Name.pm', AUTHOR => 'Matthijs van Duin ' ); + +package MY; +sub depend { " +README : \$(VERSION_FROM) + pod2text \$(VERSION_FROM) > README" +} diff --git a/README b/README index 92b76cc..f877bb4 100644 --- a/README +++ b/README @@ -1,15 +1,3 @@ -Sub::Name 0.04 - -To install this module type the following: - - perl Makefile.PL - make - make test - make install - - -Module documentation: - NAME Sub::Name - (re)name a sub