Apparently -i and -jN do not work on win32, what the hell
[dbsrgits/DBIx-Class.git] / maint / Makefile.PL.inc / 51_autohandle_MANIFEST.pl
1 # make sure manifest is deleted and generated anew on distdir
2 # preparation, and is deleted on realclean
3
4 postamble <<"EOM";
5
6 fresh_manifest : remove_manifest manifest
7 @{[ $crlf_fixup->('MANIFEST') ]}
8
9 remove_manifest :
10 \t\$(RM_F) MANIFEST
11
12 realclean :: remove_manifest
13
14 manifest : check_manifest_is_lone_target
15
16 check_manifest_is_lone_target :
17 \t\$(NOECHO) @{[
18   $mm_proto->oneliner('q($(MAKECMDGOALS)) =~ /(\S*manifest\b)/ and q($(MAKECMDGOALS)) ne $1 and die qq(The DBIC build chain does not support mixing the $1 target with others\n)')
19 ]}
20
21 EOM
22
23 # keep the Makefile.PL eval happy
24 1;