Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b36615d

Browse files
committed
- update pkglist.html more frequently, and explain why that's helpful
- add a comment explaining what pkglist.html is for
1 parent f7a0d68 commit b36615d

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

Doc/Makefile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,21 @@ distps: tarps bzipps zipps
677677
distpdf: tarpdf bzippdf zippdf
678678
distlatex: 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.
683695
pkglist:
684696
$(TOOLSDIR)/mkpkglist >pkglist.html
685697

0 commit comments

Comments
 (0)