switch makefile trick
Matt S Trout [Sat, 12 May 2012 00:46:07 +0000 (00:46 +0000)]
lib/Distar.pm

index 93b7d11..c6221a2 100644 (file)
@@ -81,7 +81,8 @@ sub run_preflight {
 sub MY::postamble { <<'END'; }
 preflight:
        perl -IDistar/lib -MDistar -erun_preflight $(VERSION)
-release: preflight disttest
+release: preflight
+       $(MAKE) disttest
        rm -rf $(DISTVNAME)
        $(MAKE) $(DISTVNAME).tar$(SUFFIX)
        cpan-upload $(DISTVNAME).tar$(SUFFIX)