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

Skip to content

Commit 05dd3c0

Browse files
committed
Added back info generation. Still buggy in the final phase (makeinfo run).
Does not conflict with any other targets.
1 parent cc97454 commit 05dd3c0

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Doc/Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ LIBDESTDIR= $DESTDIR/lib
5959
LIBDEST= $LIBDESTDIR/python
6060
DOCDESTDIR= $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>.

0 commit comments

Comments
 (0)