From: Matt S Trout Date: Sat, 12 May 2012 00:46:07 +0000 (+0000) Subject: switch makefile trick X-Git-Tag: v0.001000~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7293229608a5c430cb7f78d4fe0389aedd0d63e9;p=p5sagit%2FDistar.git switch makefile trick --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 93b7d11..c6221a2 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -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)