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 \
|
1995-02-16 12:28:22 -04:00
|
|
|
libal.tex libaifc.tex libamoeba.tex libarray.tex libaudio.tex libaudioop.tex \
|
1994-08-08 09:30:22 -03:00
|
|
|
libbltin.tex \
|
1995-03-01 11:38:16 -04:00
|
|
|
libcgi.tex libcopy.tex libctb.tex libcrypto.tex \
|
1994-08-08 09:30:22 -03:00
|
|
|
libdbm.tex \
|
|
|
|
libexcs.tex \
|
1995-02-27 13:53:25 -04:00
|
|
|
libfcntl.tex libfl.tex libfm.tex libftplib.tex libfuncs.tex \
|
|
|
|
libgdbm.tex libgetopt.tex libgl.tex libgopherlib.tex libgrp.tex \
|
|
|
|
libhtmllib.tex libhttplib.tex \
|
1994-08-08 09:30:22 -03:00
|
|
|
libimageop.tex libimgfile.tex libintro.tex \
|
|
|
|
libjpeg.tex \
|
1995-03-01 11:38:16 -04:00
|
|
|
libmac.tex libmacconsole.tex libmacfs.tex libmactcp.tex libmacspeech.tex \
|
|
|
|
libmain.tex libmarshal.tex libmath.tex \
|
1995-02-27 13:53:25 -04:00
|
|
|
libmd5.tex libmimetools.tex libmm.tex libmods.tex libmpz.tex \
|
|
|
|
libnntplib.tex \
|
1994-08-08 09:30:22 -03:00
|
|
|
libobjs.tex libos.tex \
|
1995-02-16 12:28:22 -04:00
|
|
|
libpanel.tex libposix.tex libposixfile.tex libppath.tex libpickle.tex \
|
|
|
|
libpwd.tex \
|
1995-02-27 13:53:25 -04:00
|
|
|
librand.tex libregex.tex libregsub.tex \
|
|
|
|
librfc822.tex librgbimg.tex librotor.tex \
|
|
|
|
libselect.tex libsgi.tex libsgmllib.tex \
|
|
|
|
libshelve.tex libsocket.tex libstd.tex libstdwin.tex \
|
1994-08-08 09:30:22 -03:00
|
|
|
libstring.tex libstruct.tex libsun.tex libsys.tex \
|
1995-03-01 11:38:16 -04:00
|
|
|
libtempfile.tex libthread.tex libtime.tex \
|
|
|
|
libtraceback.tex libtypes.tex libtypes2.tex \
|
1995-02-27 13:53:25 -04:00
|
|
|
libunix.tex liburllib.tex liburlparse.tex \
|
1995-02-16 12:28:22 -04:00
|
|
|
libwhrandom.tex libwww.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]*
|