]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- bump version info
authorFred Drake <fdrake@acm.org>
Sat, 27 Sep 2003 06:01:35 +0000 (06:01 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 27 Sep 2003 06:01:35 +0000 (06:01 +0000)
- backport changes from trunk revisions 1.265, 1.266 (separate
  definition of the mkhowto script location from the invocations of
  the script)

Doc/Makefile

index d48eec204981eb9b4cd89c11903d050c765c236f..a5b43ee996558037cd6380da3e58a2affe8ce218 100644 (file)
@@ -66,24 +66,33 @@ TOOLSDIR=   tools
 
 # This is the *documentation* release, and is used to construct the file
 # names of the downloadable tarballs.
-RELEASE=2.3.1
+RELEASE=2.3.2c1
 
 PYTHON=           python
 DVIPS=    dvips -N0 -t $(PAPER)
 
-MKDVI=    $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --dvi
-MKHTML=           $(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
+# This is ugly!  The issue here is that there are two different levels
+# in the directory tree at which we execute mkhowto, so we can't
+# define it just once using a relative path (at least not with the
+# current implementation and Makefile structure).  We use the GNUish
+# $(shell) function here to work around that restriction by
+# identifying mkhowto using an absolute path.
+#
+MKHOWTO=   $(PYTHON) $(shell pwd)/tools/mkhowto
+
+MKDVI=    $(MKHOWTO) --paper=$(PAPER) --dvi
+MKHTML=           $(MKHOWTO) --html --about html/stdabout.dat \
                --iconserver ../icons --favicon ../icons/pyfav.gif \
                --address $(PYTHONDOCS) --up-link ../index.html \
                --up-title "Python Documentation Index" \
                --global-module-index "../modindex.html" --dvips-safe
-MKISILOHTML=$(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
+MKISILOHTML=$(MKHOWTO) --html --about html/stdabout.dat \
                --iconserver ../icons \
                --l2h-init perl/isilo.perl --numeric --split 1 \
                --dvips-safe
 MKISILO=   iSilo386 -U -y -rCR -d0
-MKPDF=    $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --pdf
-MKPS=     $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --ps
+MKPDF=    $(MKHOWTO) --paper=$(PAPER) --pdf
+MKPS=     $(MKHOWTO) --paper=$(PAPER) --ps
 
 BUILDINDEX=$(TOOLSDIR)/buildindex.py