File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -677,9 +677,21 @@ distps: tarps bzipps zipps
677677distpdf : tarpdf bzippdf zippdf
678678distlatex : tarlatex bziplatex ziplatex
679679
680- paperdist : distpdf distps
681- edist : disthtml distinfo zipisilo
682-
680+ # We use the "pkglist" target at the end of these to ensure the
681+ # package list is updated after building either of these; this seems a
682+ # reasonable compromise between only building it for distfiles or
683+ # having to build it manually. Doing it here allows the packages for
684+ # distribution to be built using either of
685+ # make distfiles && make PAPER=a4 paperdist
686+ # make paperdist && make PAPER=a4 distfiles
687+ # The small amount of additional work is a small price to pay for not
688+ # having to remember which order to do it in. ;)
689+ paperdist : distpdf distps pkglist
690+ edist : disthtml distinfo zipisilo pkglist
691+
692+ # The pkglist.html file is used as part of the download.html page on
693+ # python.org; it is not used as intermediate input here or as part of
694+ # the packages created.
683695pkglist :
684696 $(TOOLSDIR ) /mkpkglist > pkglist.html
685697
You can’t perform that action at this time.
0 commit comments