mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Added back info generation. Still buggy in the final phase (makeinfo run).
Does not conflict with any other targets.
This commit is contained in:
parent
cc97454987
commit
05dd3c09ab
1 changed files with 26 additions and 0 deletions
26
Doc/Makefile
26
Doc/Makefile
|
@ -59,6 +59,12 @@ LIBDESTDIR= $DESTDIR/lib
|
||||||
LIBDEST= $LIBDESTDIR/python
|
LIBDEST= $LIBDESTDIR/python
|
||||||
DOCDESTDIR= $LIBDEST/doc
|
DOCDESTDIR= $LIBDEST/doc
|
||||||
|
|
||||||
|
# This is only used for .info generation:
|
||||||
|
EMACS= emacs
|
||||||
|
PYTHON= python
|
||||||
|
MAKEINFO= makeinfo
|
||||||
|
PARTPARSE= $(PYTHON) ./partparse.pyc
|
||||||
|
|
||||||
# Ideally, you shouldn't need to edit beyond this point
|
# Ideally, you shouldn't need to edit beyond this point
|
||||||
|
|
||||||
# Main target
|
# Main target
|
||||||
|
@ -152,6 +158,26 @@ api.ps: api.dvi
|
||||||
# The remaining part of the Makefile is concerned with various
|
# The remaining part of the Makefile is concerned with various
|
||||||
# conversions, as described above. See also the README file.
|
# conversions, as described above. See also the README file.
|
||||||
|
|
||||||
|
.SUFFIXES: .py .pyc
|
||||||
|
|
||||||
|
.py.pyc:
|
||||||
|
$(PYTHON) -c "import $*"
|
||||||
|
|
||||||
|
.PRECIOUS: lib.texi
|
||||||
|
|
||||||
|
lib1.texi: lib*.tex texipre.dat texipost.dat partparse.pyc
|
||||||
|
$(PARTPARSE) -o lib1.texi `./whichlibs`
|
||||||
|
|
||||||
|
lib.texi: lib1.texi fix.el
|
||||||
|
$(EMACS) -batch -l fix.el -f save-buffer -kill
|
||||||
|
cp lib1.texi lib.texi
|
||||||
|
|
||||||
|
python-lib.info: lib.texi
|
||||||
|
-$(MAKEINFO) --footnote-style end --fill-column 72 \
|
||||||
|
--paragraph-indent 0 lib.texi
|
||||||
|
|
||||||
|
lib.info: python-lib.info
|
||||||
|
|
||||||
# Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to
|
# Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to
|
||||||
# HTML converter. For more info on this program, see
|
# HTML converter. For more info on this program, see
|
||||||
# <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>.
|
# <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue