X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2FMakefile.PL.inc%2F51_autohandle_MANIFEST.pl;h=32745cbd4f75a7c05756247f730b14a5f702362e;hb=ee3a37d38c54973f7e4b65273d776bbad54f6101;hp=217b3b101a2dfd826687aa5c101b7b795ce9ca66;hpb=a0c96f2461b2a46b242b8432deb0ad88880f73cd;p=dbsrgits%2FDBIx-Class.git diff --git a/maint/Makefile.PL.inc/51_autohandle_MANIFEST.pl b/maint/Makefile.PL.inc/51_autohandle_MANIFEST.pl index 217b3b1..32745cb 100644 --- a/maint/Makefile.PL.inc/51_autohandle_MANIFEST.pl +++ b/maint/Makefile.PL.inc/51_autohandle_MANIFEST.pl @@ -4,12 +4,20 @@ postamble <<"EOM"; fresh_manifest : remove_manifest manifest +@{[ $crlf_fixup->('MANIFEST') ]} remove_manifest : -\t\$(RM) MANIFEST +\t\$(RM_F) MANIFEST realclean :: remove_manifest +manifest : check_manifest_is_lone_target + +check_manifest_is_lone_target : +\t\$(NOECHO) @{[ + $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)') +]} + EOM # keep the Makefile.PL eval happy