From: Graham Knop Date: Thu, 12 Nov 2015 10:05:29 +0000 (-0500) Subject: ensure README built in correct order X-Git-Tag: v0.003000~40 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75f8311c41c663a66ac7dc9dc0ad09520a7cd2cb;p=p5sagit%2FDistar.git ensure README built in correct order --- diff --git a/lib/Distar.pm b/lib/Distar.pm index 8e1c51d..5aba3ce 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -151,11 +151,12 @@ release: preflight releasetest cpan-upload $(DISTVNAME).tar$(SUFFIX) git push origin v$(VERSION) HEAD distdir: readmefile -readmefile: create_distdir $(DISTVNAME)/README - $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) ../Distar/helpers/add-to-manifest README +readmefile: create_distdir + $(NOECHO) $(MAKE) $(DISTVNAME)/README $(DISTVNAME)/README: $(VERSION_FROM) $(NOECHO) $(MKPATH) $(DISTVNAME) pod2text $(VERSION_FROM) >$(DISTVNAME)/README + $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) ../Distar/helpers/add-to-manifest README disttest: distmanicheck distmanicheck: create_distdir cd $(DISTVNAME) && $(ABSPERLRUN) "-MExtUtils::Manifest=manicheck" -e "exit manicheck"