summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-09-28 16:25:43 (GMT)
committerFred Drake <fdrake@acm.org>2003-09-28 16:25:43 (GMT)
commitb36615d584e1a399a770286d8d0fdebbd7ce73cb (patch)
treedf34b89bf732d33923221fce64a1cf89ede4d24d /Doc/Makefile
parentf7a0d6870867e2e02a33d4a2e59e632c81031354 (diff)
downloadcpython-b36615d584e1a399a770286d8d0fdebbd7ce73cb.zip
cpython-b36615d584e1a399a770286d8d0fdebbd7ce73cb.tar.gz
cpython-b36615d584e1a399a770286d8d0fdebbd7ce73cb.tar.bz2
- update pkglist.html more frequently, and explain why that's helpful
- add a comment explaining what pkglist.html is for
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 5c0dc92..2fea4e4 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -677,9 +677,21 @@ distps: tarps bzipps zipps
distpdf: tarpdf bzippdf zippdf
distlatex: tarlatex bziplatex ziplatex
-paperdist: distpdf distps
-edist: disthtml distinfo zipisilo
-
+# We use the "pkglist" target at the end of these to ensure the
+# package list is updated after building either of these; this seems a
+# reasonable compromise between only building it for distfiles or
+# having to build it manually. Doing it here allows the packages for
+# distribution to be built using either of
+# make distfiles && make PAPER=a4 paperdist
+# make paperdist && make PAPER=a4 distfiles
+# The small amount of additional work is a small price to pay for not
+# having to remember which order to do it in. ;)
+paperdist: distpdf distps pkglist
+edist: disthtml distinfo zipisilo pkglist
+
+# The pkglist.html file is used as part of the download.html page on
+# python.org; it is not used as intermediate input here or as part of
+# the packages created.
pkglist:
$(TOOLSDIR)/mkpkglist >pkglist.html