Make pod generation more palatable to the existing toolchain
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 52_autogen_README.pl
CommitLineData
388a1ec7 1# When a long-standing branch is updated a README may still inger around
2unlink 'README' if -f 'README';
3
fc4b0448 4# Makefile syntax allows adding extra dep-specs for already-existing targets,
5# and simply appends them on *LAST*-come *FIRST*-serve basis.
6# This allows us to inject extra depenencies for standard EUMM targets
7
8postamble <<"EOP";
9
a0c96f24 10clonedir_generate_files : dbic_clonedir_gen_readme
fc4b0448 11
a0c96f24 12clonedir_cleanup_generated_files : dbic_clonedir_cleanup_readme
fc4b0448 13
14dbic_clonedir_gen_readme :
15\tpod2text lib/DBIx/Class.pm > README
16
17dbic_clonedir_cleanup_readme :
18\t\$(RM_F) README
19
a0c96f24 20realclean :: dbic_clonedir_cleanup_readme
21
fc4b0448 22EOP
23
24# keep the Makefile.PL eval happy
251;