1992-07-07 06:06:34 -03:00
|
|
|
DESTDIR=/usr/local
|
|
|
|
LIBDESTDIR=$DESTDIR/lib
|
|
|
|
LIBDEST=$LIBDESTDIR/python
|
|
|
|
DOCDESTDIR=$LIBDEST/doc
|
1994-08-01 09:22:53 -03:00
|
|
|
DVIPS= dvips -f
|
1992-07-07 06:06:34 -03:00
|
|
|
|
1994-08-08 09:30:22 -03:00
|
|
|
all: tut.dvi lib.dvi ref.dvi ext.dvi
|
1992-03-06 06:56:42 -04:00
|
|
|
|
1994-08-08 09:30:22 -03:00
|
|
|
ext: ext.dvi
|
|
|
|
tut: tut.dvi
|
|
|
|
qua: qua.dvi
|
|
|
|
ref: ref.dvi
|
|
|
|
lib: lib.dvi
|
|
|
|
|
|
|
|
tut.dvi lib.dvi ref.dvi ext.dvi: myformat.sty fix_hack
|
|
|
|
|
|
|
|
tut.dvi: tut.tex
|
1992-03-06 06:56:42 -04:00
|
|
|
latex tut
|
|
|
|
latex tut
|
1994-08-01 09:22:53 -03:00
|
|
|
$(DVIPS) tut >tut.ps
|
1992-03-06 06:56:42 -04:00
|
|
|
|
1994-08-08 09:30:22 -03:00
|
|
|
ref.dvi: ref.tex ref1.tex ref2.tex ref3.tex ref4.tex ref5.tex ref6.tex \
|
|
|
|
ref7.tex ref8.tex
|
1992-03-06 06:56:42 -04:00
|
|
|
touch ref.ind
|
|
|
|
latex ref
|
1992-12-17 11:31:02 -04:00
|
|
|
./fix_hack ref.idx
|
1992-03-06 06:56:42 -04:00
|
|
|
makeindex ref
|
|
|
|
latex ref
|
1994-08-01 09:22:53 -03:00
|
|
|
$(DVIPS) ref >ref.ps
|
1992-03-06 06:56:42 -04:00
|
|
|
|
1994-08-08 09:30:22 -03:00
|
|
|
# LaTeX source files for the Python Library Reference
|
|
|
|
LIBFILES = lib.tex \
|
|
|
|
libal.tex libamoeba.tex libarray.tex libaudio.tex libaudioop.tex \
|
|
|
|
libbltin.tex \
|
|
|
|
libcrypto.tex \
|
|
|
|
libdbm.tex \
|
|
|
|
libexcs.tex \
|
|
|
|
libfcntl.tex libfl.tex libfm.tex libfuncs.tex \
|
|
|
|
libgdbm.tex libgetopt.tex libgl.tex libgrp.tex \
|
|
|
|
libimageop.tex libimgfile.tex libintro.tex \
|
|
|
|
libjpeg.tex \
|
|
|
|
libmac.tex libmain.tex libmarshal.tex libmath.tex \
|
|
|
|
libmd5.tex libmm.tex libmods.tex libmpz.tex \
|
|
|
|
libobjs.tex libos.tex \
|
|
|
|
libpanel.tex libposix.tex libposixfile.tex libppath.tex libpwd.tex \
|
|
|
|
librand.tex libregex.tex libregsub.tex librgbimg.tex librotor.tex \
|
|
|
|
libselect.tex libsgi.tex libsocket.tex libstd.tex libstdwin.tex \
|
|
|
|
libstring.tex libstruct.tex libsun.tex libsys.tex \
|
|
|
|
libthread.tex libtime.tex libtypes.tex \
|
|
|
|
libunix.tex \
|
1994-12-14 11:27:33 -04:00
|
|
|
libwhrandom.tex libaifc.tex
|
1994-08-08 09:30:22 -03:00
|
|
|
|
|
|
|
lib.dvi: $(LIBFILES)
|
1992-03-06 06:56:42 -04:00
|
|
|
touch lib.ind
|
|
|
|
latex lib
|
1992-12-08 10:37:55 -04:00
|
|
|
./fix_hack lib.idx
|
1992-03-06 06:56:42 -04:00
|
|
|
makeindex lib
|
|
|
|
latex lib
|
1994-08-01 09:22:53 -03:00
|
|
|
$(DVIPS) lib >lib.ps
|
1992-03-06 06:56:42 -04:00
|
|
|
|
1994-08-08 09:30:22 -03:00
|
|
|
ext.dvi: ext.tex
|
* 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().
1993-11-05 10:45:11 -04:00
|
|
|
touch ext.ind
|
|
|
|
latex ext
|
|
|
|
./fix_hack ext.idx
|
|
|
|
makeindex ext
|
|
|
|
latex ext
|
1994-08-01 09:22:53 -03:00
|
|
|
$(DVIPS) ext >ext.ps
|
* 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().
1993-11-05 10:45:11 -04:00
|
|
|
|
1994-08-08 09:30:22 -03:00
|
|
|
qua.dvi: qua.tex quabib.bib
|
1992-03-06 06:56:42 -04:00
|
|
|
latex qua
|
|
|
|
bibtex qua
|
|
|
|
latex qua
|
1992-06-03 14:59:20 -03:00
|
|
|
latex qua
|
1994-08-01 09:22:53 -03:00
|
|
|
$(DVIPS) qua >qua.ps
|
1991-01-22 07:47:14 -04:00
|
|
|
|
1994-08-01 09:22:53 -03:00
|
|
|
lib.texi: lib*.tex texipre.dat texipost.dat partparse.py fix.el
|
1994-10-20 19:01:07 -03:00
|
|
|
python partparse.py -o @lib.texi `./whichlibs`
|
1994-08-01 09:22:53 -03:00
|
|
|
emacs -batch -l fix.el -f save-buffer -kill
|
* 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().
1993-11-05 10:45:11 -04:00
|
|
|
mv @lib.texi lib.texi
|
|
|
|
|
|
|
|
.PRECIOUS: lib.texi
|
|
|
|
|
1994-08-01 09:22:53 -03:00
|
|
|
python-lib.info: lib.texi
|
|
|
|
makeinfo --footnote-style end --fill-column 72 --paragraph-indent 0 \
|
* 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().
1993-11-05 10:45:11 -04:00
|
|
|
lib.texi
|
|
|
|
|
|
|
|
lib.info: python-lib.info
|
1992-12-08 10:37:55 -04:00
|
|
|
|
* 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().
1993-11-05 10:45:11 -04:00
|
|
|
# This target is very local to CWI...
|
|
|
|
libwww: lib.texi
|
1994-08-01 09:22:53 -03:00
|
|
|
texi2html -d lib.texi /ufs/guido/www/texinfo/python
|
|
|
|
|
|
|
|
# This one too...
|
|
|
|
L2H= /usr/local/LaTeX2html/latex2html
|
|
|
|
L2HARGS=-address $$USER@`domainname` -dont_include myformat -nolatex
|
|
|
|
l2h: l2htut l2href l2hext
|
|
|
|
|
|
|
|
l2htut: tut
|
|
|
|
$(L2H) $(L2HARGS) tut.tex
|
|
|
|
@rm -rf python-tut
|
|
|
|
mv tut python-tut
|
|
|
|
|
|
|
|
l2href: ref
|
|
|
|
$(L2H) $(L2HARGS) ref.tex
|
|
|
|
@rm -rf python-ref
|
|
|
|
mv ref python-ref
|
|
|
|
|
|
|
|
l2hext: ext
|
|
|
|
$(L2H) $(L2HARGS) ext.tex
|
|
|
|
@rm -rf python-ext
|
|
|
|
mv ext python-ext
|
1993-02-21 16:10:26 -04:00
|
|
|
|
1990-08-09 11:25:15 -03:00
|
|
|
clean:
|
1992-12-17 11:31:02 -04:00
|
|
|
rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc
|
1992-07-07 06:06:34 -03:00
|
|
|
# Sources: .tex, .bib, .sty
|
* 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().
1993-11-05 10:45:11 -04:00
|
|
|
# Useful results: .dvi, .ps, .texi, .info
|
1992-07-07 06:06:34 -03:00
|
|
|
|
|
|
|
clobber: clean
|
* 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().
1993-11-05 10:45:11 -04:00
|
|
|
rm -f *.dvi *.ps *.texi *.info *.info-[0-9]*
|