summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-11-05 14:45:11 (GMT)
committerGuido van Rossum <guido@python.org>1993-11-05 14:45:11 (GMT)
commit7a2dba2a00cee7e3dff61849e9111073684b6ab7 (patch)
tree0ec359ce267efc71e03a438e8dfbb7e85b9f6afb /Doc/Makefile
parentc60041175547df61e67ff167bd5ad18f7967795d (diff)
downloadcpython-7a2dba2a00cee7e3dff61849e9111073684b6ab7.zip
cpython-7a2dba2a00cee7e3dff61849e9111073684b6ab7.tar.gz
cpython-7a2dba2a00cee7e3dff61849e9111073684b6ab7.tar.bz2
* ext.tex: documentation for extending, reference counts, and embedding
(formerly ../misc/{EXTENDING,REFCNT,EMBEDDING}). Also affects Makefile. * text2latex.py: script to do part of the conversion from an plain ASCI text file (in my particular style) to LaTeX. (Chapter/section/subsection headers, and verbatim sections.) * partparse.py, texipre.dat, fix.el, Makefile: Minor cleanup of latex -> info conversion process (at least it works again, and with less debugging output). Removed fix.sh. * lib1.tex (section{Built-in Functions}): adapt description of str() and repr() to new situation. * lib3.tex (Module os): added exec*() variants. * lib3.tex (Module posix): added execve(). * lib2.tex (Module array): documented reality; remove typecode and itemsize, add byteswap, rename read/write to fromfile/tofile, and re-alphabetized. * lib1.tex (Built-in Functions): renamed bagof() to filter().
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile34
1 files changed, 25 insertions, 9 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index e55871b..b931094 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -26,6 +26,14 @@ lib:
latex lib
dvips lib >lib.ps
+ext:
+ touch ext.ind
+ latex ext
+ ./fix_hack ext.idx
+ makeindex ext
+ latex ext
+ dvips ext >ext.ps
+
qua:
latex qua
bibtex qua
@@ -33,19 +41,27 @@ qua:
latex qua
dvips qua >qua.ps
-libinfo:
- @echo This may take a while...
- python -c 'import partparse; partparse.main()' lib[1-5].tex
- sh fix.sh
+lib.texi: lib1.tex lib2.tex lib3.tex lib4.tex lib5.tex texipre.dat texipost.dat
+ python partparse.py -o @lib.texi lib[1-5].tex
+ mv @lib.texi lib.texi
+
+.PRECIOUS: lib.texi
+
+python-lib.info: lib.texi
+ emacs -batch -l fix.el -f save-buffer -kill
+ makeinfo +footnote-style end +fill-column 72 +paragraph-indent 0 \
+ lib.texi
+
+lib.info: python-lib.info
-# This target is very local to CWI... (first make libinfo)
-libwww:
- texi2html -d @out.texi /usr/local/ftp.cwi.nl/pub/www/texinfo/python
+# This target is very local to CWI...
+libwww: lib.texi
+ texi2html -d lib.texi /usr/local/ftp.cwi.nl/pub/www/texinfo/python
clean:
rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc
# Sources: .tex, .bib, .sty
- # Useful results: .dvi, .ps
+ # Useful results: .dvi, .ps, .texi, .info
clobber: clean
- rm -f *.dvi *.ps *.info *.info-[0-9]*
+ rm -f *.dvi *.ps *.texi *.info *.info-[0-9]*