Commit | Line | Data |
388a1ec7 |
1 | # When a long-standing branch is updated a README may still inger around |
2 | unlink '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 | |
8 | postamble <<"EOP"; |
9 | |
a0c96f24 |
10 | clonedir_generate_files : dbic_clonedir_gen_readme |
fc4b0448 |
11 | |
a0c96f24 |
12 | clonedir_cleanup_generated_files : dbic_clonedir_cleanup_readme |
fc4b0448 |
13 | |
14 | dbic_clonedir_gen_readme : |
15 | \tpod2text lib/DBIx/Class.pm > README |
16 | |
17 | dbic_clonedir_cleanup_readme : |
18 | \t\$(RM_F) README |
19 | |
a0c96f24 |
20 | realclean :: dbic_clonedir_cleanup_readme |
21 | |
fc4b0448 |
22 | EOP |
23 | |
24 | # keep the Makefile.PL eval happy |
25 | 1; |