1992-07-07 09:06:34 +00:00
|
|
|
DESTDIR=/usr/local
|
|
|
|
LIBDESTDIR=$DESTDIR/lib
|
|
|
|
LIBDEST=$LIBDESTDIR/python
|
|
|
|
DOCDESTDIR=$LIBDEST/doc
|
1994-08-01 12:22:53 +00:00
|
|
|
DVIPS= dvips -f
|
1992-07-07 09:06:34 +00:00
|
|
|
|
1994-08-08 12:30:22 +00:00
|
|
|
all: tut.dvi lib.dvi ref.dvi ext.dvi
|
1992-03-06 10:56:42 +00:00
|
|
|
|
1994-08-08 12:30:22 +00: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 10:56:42 +00:00
|
|
|
latex tut
|
|
|
|
latex tut
|
1994-08-01 12:22:53 +00:00
|
|
|
$(DVIPS) tut >tut.ps
|
1992-03-06 10:56:42 +00:00
|
|
|
|
1994-08-08 12:30:22 +00:00
|
|
|
ref.dvi: ref.tex ref1.tex ref2.tex ref3.tex ref4.tex ref5.tex ref6.tex \
|
|
|
|
ref7.tex ref8.tex
|
1992-03-06 10:56:42 +00:00
|
|
|
touch ref.ind
|
|
|
|
latex ref
|
1992-12-17 15:31:02 +00:00
|
|
|
./fix_hack ref.idx
|
1992-03-06 10:56:42 +00:00
|
|
|
makeindex ref
|
|
|
|
latex ref
|
1994-08-01 12:22:53 +00:00
|
|
|
$(DVIPS) ref >ref.ps
|
1992-03-06 10:56:42 +00:00
|
|
|
|
1994-08-08 12:30:22 +00:00
|
|
|
# LaTeX source files for the Python Library Reference
|
|
|
|
LIBFILES = lib.tex \
|
1995-02-16 16:28:22 +00:00
|
|
|
libal.tex libaifc.tex libamoeba.tex libarray.tex libaudio.tex libaudioop.tex \
|
1994-08-08 12:30:22 +00:00
|
|
|
libbltin.tex \
|
1995-03-01 15:38:16 +00:00
|
|
|
libcgi.tex libcopy.tex libctb.tex libcrypto.tex \
|
1994-08-08 12:30:22 +00:00
|
|
|
libdbm.tex \
|
|
|
|
libexcs.tex \
|
1995-02-27 17:53:25 +00: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 12:30:22 +00:00
|
|
|
libimageop.tex libimgfile.tex libintro.tex \
|
|
|
|
libjpeg.tex \
|
1995-03-07 10:12:11 +00:00
|
|
|
libmac.tex libmacconsole.tex libmacdnr.tex \
|
|
|
|
libmacfs.tex libmactcp.tex libmacspeech.tex \
|
|
|
|
libmain.tex libmarshal.tex libmath.tex \
|
1995-02-27 17:53:25 +00:00
|
|
|
libmd5.tex libmimetools.tex libmm.tex libmods.tex libmpz.tex \
|
|
|
|
libnntplib.tex \
|
1994-08-08 12:30:22 +00:00
|
|
|
libobjs.tex libos.tex \
|
1995-03-02 12:38:39 +00:00
|
|
|
libpanel.tex libpickle.tex libposix.tex libposixfile.tex \
|
|
|
|
libppath.tex libprofile.tex libpwd.tex \
|
1995-02-27 17:53:25 +00: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 12:30:22 +00:00
|
|
|
libstring.tex libstruct.tex libsun.tex libsys.tex \
|
1995-03-01 15:38:16 +00:00
|
|
|
libtempfile.tex libthread.tex libtime.tex \
|
|
|
|
libtraceback.tex libtypes.tex libtypes2.tex \
|
1995-02-27 17:53:25 +00:00
|
|
|
libunix.tex liburllib.tex liburlparse.tex \
|
1995-02-16 16:28:22 +00:00
|
|
|
libwhrandom.tex libwww.tex
|
1994-08-08 12:30:22 +00:00
|
|
|
|
|
|
|
lib.dvi: $(LIBFILES)
|
1992-03-06 10:56:42 +00:00
|
|
|
touch lib.ind
|
|
|
|
latex lib
|
1992-12-08 14:37:55 +00:00
|
|
|
./fix_hack lib.idx
|
1992-03-06 10:56:42 +00:00
|
|
|
makeindex lib
|
|
|
|
latex lib
|
1994-08-01 12:22:53 +00:00
|
|
|
$(DVIPS) lib >lib.ps
|
1992-03-06 10:56:42 +00:00
|
|
|
|
1994-08-08 12:30:22 +00: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 14:45:11 +00:00
|
|
|
touch ext.ind
|
|
|
|
latex ext
|
|
|
|
./fix_hack ext.idx
|
|
|
|
makeindex ext
|
|
|
|
latex ext
|
1994-08-01 12:22:53 +00: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 14:45:11 +00:00
|
|
|
|
1994-08-08 12:30:22 +00:00
|
|
|
qua.dvi: qua.tex quabib.bib
|
1992-03-06 10:56:42 +00:00
|
|
|
latex qua
|
|
|
|
bibtex qua
|
|
|
|
latex qua
|
1992-06-03 17:59:20 +00:00
|
|
|
latex qua
|
1994-08-01 12:22:53 +00:00
|
|
|
$(DVIPS) qua >qua.ps
|
1991-01-22 11:47:14 +00:00
|
|
|
|
1994-08-01 12:22:53 +00:00
|
|
|
lib.texi: lib*.tex texipre.dat texipost.dat partparse.py fix.el
|
1994-10-20 22:01:07 +00:00
|
|
|
python partparse.py -o @lib.texi `./whichlibs`
|
1994-08-01 12:22:53 +00: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 14:45:11 +00:00
|
|
|
mv @lib.texi lib.texi
|
|
|
|
|
|
|
|
.PRECIOUS: lib.texi
|
|
|
|
|
1994-08-01 12:22:53 +00: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 14:45:11 +00:00
|
|
|
lib.texi
|
|
|
|
|
|
|
|
lib.info: python-lib.info
|
1992-12-08 14:37:55 +00: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 14:45:11 +00:00
|
|
|
# This target is very local to CWI...
|
|
|
|
libwww: lib.texi
|
1994-08-01 12:22:53 +00: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 20:10:26 +00:00
|
|
|
|
1990-08-09 14:25:15 +00:00
|
|
|
clean:
|
1992-12-17 15:31:02 +00:00
|
|
|
rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc
|
1992-07-07 09:06:34 +00: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 14:45:11 +00:00
|
|
|
# Useful results: .dvi, .ps, .texi, .info
|
1992-07-07 09:06:34 +00: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 14:45:11 +00:00
|
|
|
rm -f *.dvi *.ps *.texi *.info *.info-[0-9]*
|