X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=maint%2FMakefile.PL.inc%2F51_autohandle_MANIFEST.pl;h=938cab5d682a4b9680a60bea08f79e3f7a07d711;hb=people%2Filmari%2Foracle-deferred-constraints;hp=f12ee306c61e9e83f7438b399ec6cb9ccd80a823;hpb=7c0072ba45e55c65ed00bc0e0b33e21ede3c7c7b;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 f12ee30..938cab5 100644 --- a/maint/Makefile.PL.inc/51_autohandle_MANIFEST.pl +++ b/maint/Makefile.PL.inc/51_autohandle_MANIFEST.pl @@ -10,6 +10,13 @@ remove_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