File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,12 @@ LIBDESTDIR= $DESTDIR/lib
5959LIBDEST = $LIBDESTDIR/python
6060DOCDESTDIR = $LIBDEST/doc
6161
62+ # This is only used for .info generation:
63+ EMACS = emacs
64+ PYTHON = python
65+ MAKEINFO = makeinfo
66+ PARTPARSE = $(PYTHON ) ./partparse.pyc
67+
6268# Ideally, you shouldn't need to edit beyond this point
6369
6470# Main target
@@ -152,6 +158,26 @@ api.ps: api.dvi
152158# The remaining part of the Makefile is concerned with various
153159# conversions, as described above. See also the README file.
154160
161+ .SUFFIXES : .py .pyc
162+
163+ .py.pyc :
164+ $(PYTHON ) -c " import $* "
165+
166+ .PRECIOUS : lib.texi
167+
168+ lib1.texi : lib* .tex texipre.dat texipost.dat partparse.pyc
169+ $(PARTPARSE ) -o lib1.texi ` ./whichlibs`
170+
171+ lib.texi : lib1.texi fix.el
172+ $(EMACS ) -batch -l fix.el -f save-buffer -kill
173+ cp lib1.texi lib.texi
174+
175+ python-lib.info : lib.texi
176+ -$(MAKEINFO ) --footnote-style end --fill-column 72 \
177+ --paragraph-indent 0 lib.texi
178+
179+ lib.info : python-lib.info
180+
155181# Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to
156182# HTML converter. For more info on this program, see
157183# <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>.
You can’t perform that action at this time.
0 commit comments