Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 1 | # Makefile for Python documentation |
| 2 | # --------------------------------- |
| 3 | # |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 4 | # See also the README file. |
| 5 | # |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 6 | # This is a bit of a mess. The main documents are: |
| 7 | # tut -- Tutorial (file tut.tex) |
| 8 | # lib -- Library Reference (file lib.tex, inputs lib*.tex) |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 9 | # ext -- Extending and Embedding (file ext.tex) |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 10 | # api -- Python-C API Reference |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 11 | # |
Guido van Rossum | 1f17543 | 1996-10-22 20:00:02 +0000 | [diff] [blame] | 12 | # The Reference Manual is now maintained as a FrameMaker document. |
| 13 | # See the subdirectory ref; PostScript is included as ref/ref.ps. |
| 14 | # (In the future, the Tutorial will also be converted to FrameMaker; |
| 15 | # the other documents will be maintained in a text format such |
| 16 | # as LaTeX or perhaps TIM.) |
| 17 | # |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 18 | # The main target "make all" creates DVI and PostScript for these |
| 19 | # four. You can also do "make lib" (etc.) to process individual |
| 20 | # documents. |
| 21 | # |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 22 | # There's one local style file: myformat.sty. This defines a number |
| 23 | # of macros that are similar in name and intent as macros in Texinfo |
| 24 | # (e.g. \code{...} and \emph{...}), as well as a number of |
| 25 | # environments for formatting function and data definitions, also in |
| 26 | # the style of Texinfo. |
| 27 | # |
| 28 | # Everything is processed by LaTeX. The following tools are used: |
| 29 | # latex |
| 30 | # makeindex |
| 31 | # dvips |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 32 | # |
| 33 | # There's a problem with generating the index which has been solved by |
| 34 | # a sed command applied to the index file. The shell script fix_hack |
| 35 | # does this (the Makefile takes care of calling it). |
| 36 | # |
| 37 | # To preview the dvi files produced by LaTeX it would be useful to |
| 38 | # have xdvi as well. |
| 39 | # |
| 40 | # Additional targets attempt to convert selected LaTeX sources to |
| 41 | # various other formats. These are generally site specific because |
| 42 | # the tools used are all but universal. These targets are: |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 43 | # l2h -- convert tut, lib, ext, api from LaTeX to HTML |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 44 | # See the README file for more info on these targets. |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 45 | |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 46 | # Customizations -- you *may* have to edit these |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 47 | |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 48 | # Where are the various programs? |
| 49 | LATEX= latex |
| 50 | BIBTEX= bibtex |
Guido van Rossum | 5344d4f | 1997-10-05 18:51:02 +0000 | [diff] [blame] | 51 | DVIPS= dvips -f -N0 |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 52 | MAKEINDEX= makeindex |
Fred Drake | f93f101 | 1996-10-29 16:07:46 +0000 | [diff] [blame] | 53 | L2H= latex2html |
Guido van Rossum | 0f280b6 | 1997-12-01 18:50:09 +0000 | [diff] [blame] | 54 | L2HARGS= -address $$LOGNAME@`domainname` |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 55 | |
| 56 | # Install destination -- not used now but might be useful some time... |
| 57 | DESTDIR= /usr/local |
| 58 | LIBDESTDIR= $DESTDIR/lib |
| 59 | LIBDEST= $LIBDESTDIR/python |
| 60 | DOCDESTDIR= $LIBDEST/doc |
| 61 | |
Fred Drake | 05dd3c0 | 1997-12-29 17:17:54 +0000 | [diff] [blame] | 62 | # This is only used for .info generation: |
| 63 | EMACS= emacs |
| 64 | PYTHON= python |
| 65 | MAKEINFO= makeinfo |
| 66 | PARTPARSE= $(PYTHON) ./partparse.pyc |
| 67 | |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 68 | # Ideally, you shouldn't need to edit beyond this point |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 69 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 70 | # Main target |
Guido van Rossum | eb8d503 | 1996-08-09 21:46:05 +0000 | [diff] [blame] | 71 | all: all-ps |
| 72 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 73 | all-dvi: tut.dvi lib.dvi ext.dvi api.dvi |
| 74 | all-ps: tut.ps lib.ps ext.ps api.ps |
Guido van Rossum | 20aca5a | 1991-01-25 13:29:04 +0000 | [diff] [blame] | 75 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 76 | # Individual document fake targets |
Guido van Rossum | eb8d503 | 1996-08-09 21:46:05 +0000 | [diff] [blame] | 77 | tut: tut.ps |
| 78 | lib: lib.ps |
Guido van Rossum | eb8d503 | 1996-08-09 21:46:05 +0000 | [diff] [blame] | 79 | ext: ext.ps |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 80 | api: api.ps |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 81 | |
| 82 | # Dependencies |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 83 | tut.dvi lib.dvi ext.dvi api.dvi: myformat.sty fix_hack |
Guido van Rossum | 16d6e71 | 1994-08-08 12:30:22 +0000 | [diff] [blame] | 84 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 85 | # Tutorial document |
Guido van Rossum | 16d6e71 | 1994-08-08 12:30:22 +0000 | [diff] [blame] | 86 | tut.dvi: tut.tex |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 87 | $(LATEX) tut |
| 88 | $(LATEX) tut |
Guido van Rossum | eb8d503 | 1996-08-09 21:46:05 +0000 | [diff] [blame] | 89 | |
| 90 | tut.ps: tut.dvi |
Guido van Rossum | 6938f06 | 1994-08-01 12:22:53 +0000 | [diff] [blame] | 91 | $(DVIPS) tut >tut.ps |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame] | 92 | |
Guido van Rossum | 16d6e71 | 1994-08-08 12:30:22 +0000 | [diff] [blame] | 93 | # LaTeX source files for the Python Library Reference |
| 94 | LIBFILES = lib.tex \ |
Guido van Rossum | 40006cf | 1996-08-19 22:58:03 +0000 | [diff] [blame] | 95 | libintro.tex libobjs.tex libtypes.tex libexcs.tex libfuncs.tex \ |
| 96 | libpython.tex libsys.tex libtypes2.tex libtraceback.tex libpickle.tex \ |
| 97 | libshelve.tex libcopy.tex libmarshal.tex libimp.tex libparser.tex \ |
| 98 | libbltin.tex libmain.tex libstrings.tex libstring.tex libregex.tex \ |
| 99 | libregsub.tex libstruct.tex libmisc.tex libmath.tex librand.tex \ |
| 100 | libwhrandom.tex libarray.tex liballos.tex libos.tex libtime.tex \ |
| 101 | libgetopt.tex libtempfile.tex liberrno.tex libsomeos.tex libsignal.tex \ |
| 102 | libsocket.tex libselect.tex libthread.tex libunix.tex libposix.tex \ |
| 103 | libppath.tex libpwd.tex libgrp.tex libcrypt.tex libdbm.tex libgdbm.tex \ |
| 104 | libtermios.tex libfcntl.tex libposixfile.tex libsyslog.tex libpdb.tex \ |
| 105 | libprofile.tex libwww.tex libcgi.tex liburllib.tex libhttplib.tex \ |
| 106 | libftplib.tex libgopherlib.tex libnntplib.tex liburlparse.tex \ |
| 107 | libhtmllib.tex libsgmllib.tex librfc822.tex libmimetools.tex \ |
| 108 | libbinascii.tex libmm.tex libaudioop.tex libimageop.tex libaifc.tex \ |
| 109 | libjpeg.tex librgbimg.tex libcrypto.tex libmd5.tex libmpz.tex \ |
| 110 | librotor.tex libmac.tex libctb.tex libmacconsole.tex libmacdnr.tex \ |
| 111 | libmacfs.tex libmacos.tex libmacostools.tex libmactcp.tex \ |
| 112 | libmacspeech.tex libmacui.tex libstdwin.tex libsgi.tex libal.tex \ |
| 113 | libcd.tex libfl.tex libfm.tex libgl.tex libimgfile.tex libsun.tex \ |
Guido van Rossum | a80c398 | 1996-10-22 01:12:13 +0000 | [diff] [blame] | 114 | libxdrlib.tex libimghdr.tex \ |
| 115 | librestricted.tex librexec.tex libbastion.tex \ |
Guido van Rossum | 3dd68d3 | 1996-12-31 02:24:54 +0000 | [diff] [blame] | 116 | libformatter.tex liboperator.tex libsoundex.tex libresource.tex \ |
Guido van Rossum | 7f3b042 | 1997-03-27 14:56:18 +0000 | [diff] [blame] | 117 | libstat.tex libstrio.tex libundoc.tex libmailcap.tex libglob.tex \ |
Guido van Rossum | e76b7a8 | 1997-04-27 21:25:52 +0000 | [diff] [blame] | 118 | libuser.tex libanydbm.tex librandom.tex libsite.tex libwhichdb.tex \ |
Guido van Rossum | 41c302f | 1997-06-02 17:36:12 +0000 | [diff] [blame] | 119 | libbase64.tex libfnmatch.tex libquopri.tex libzlib.tex libsocksvr.tex \ |
Fred Drake | 18600a4 | 1997-07-18 20:43:27 +0000 | [diff] [blame] | 120 | libmailbox.tex libcommands.tex libcmath.tex libni.tex libgzip.tex \ |
Guido van Rossum | 36764b8 | 1997-08-30 20:02:25 +0000 | [diff] [blame] | 121 | libpprint.tex libcode.tex libmimify.tex libre.tex libmacic.tex \ |
Guido van Rossum | 9cb6480 | 1997-12-29 20:01:55 +0000 | [diff] [blame] | 122 | libuserdict.tex libdis.tex libxmllib.tex libqueue.tex \ |
| 123 | liblocale.tex libbasehttp.tex |
Guido van Rossum | 16d6e71 | 1994-08-08 12:30:22 +0000 | [diff] [blame] | 124 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 125 | # Library document |
Guido van Rossum | 16d6e71 | 1994-08-08 12:30:22 +0000 | [diff] [blame] | 126 | lib.dvi: $(LIBFILES) |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 127 | touch lib.ind |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 128 | $(LATEX) lib |
Guido van Rossum | 95cd2ef | 1992-12-08 14:37:55 +0000 | [diff] [blame] | 129 | ./fix_hack lib.idx |
Fred Drake | b4d4e25 | 1996-11-11 21:03:01 +0000 | [diff] [blame] | 130 | $(MAKEINDEX) lib.idx |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 131 | $(LATEX) lib |
Guido van Rossum | eb8d503 | 1996-08-09 21:46:05 +0000 | [diff] [blame] | 132 | |
| 133 | lib.ps: lib.dvi |
Guido van Rossum | 6938f06 | 1994-08-01 12:22:53 +0000 | [diff] [blame] | 134 | $(DVIPS) lib >lib.ps |
Guido van Rossum | a52117e | 1991-11-21 13:54:36 +0000 | [diff] [blame] | 135 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 136 | # Extensions document |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 137 | ext.dvi: ext.tex |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame] | 138 | touch ext.ind |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 139 | $(LATEX) ext |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame] | 140 | ./fix_hack ext.idx |
Fred Drake | b4d4e25 | 1996-11-11 21:03:01 +0000 | [diff] [blame] | 141 | $(MAKEINDEX) ext.idx |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 142 | $(LATEX) ext |
Guido van Rossum | eb8d503 | 1996-08-09 21:46:05 +0000 | [diff] [blame] | 143 | |
| 144 | ext.ps: ext.dvi |
Guido van Rossum | 6938f06 | 1994-08-01 12:22:53 +0000 | [diff] [blame] | 145 | $(DVIPS) ext >ext.ps |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame] | 146 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 147 | # Python-C API document |
| 148 | api.dvi: api.tex |
| 149 | touch api.ind |
| 150 | $(LATEX) api |
| 151 | ./fix_hack api.idx |
| 152 | $(MAKEINDEX) api.idx |
| 153 | $(LATEX) api |
Guido van Rossum | eb8d503 | 1996-08-09 21:46:05 +0000 | [diff] [blame] | 154 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 155 | api.ps: api.dvi |
| 156 | $(DVIPS) api >api.ps |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame] | 157 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 158 | |
| 159 | # The remaining part of the Makefile is concerned with various |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 160 | # conversions, as described above. See also the README file. |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 161 | |
Fred Drake | 05dd3c0 | 1997-12-29 17:17:54 +0000 | [diff] [blame] | 162 | .SUFFIXES: .py .pyc |
| 163 | |
| 164 | .py.pyc: |
| 165 | $(PYTHON) -c "import $*" |
| 166 | |
| 167 | .PRECIOUS: lib.texi |
| 168 | |
| 169 | lib1.texi: lib*.tex texipre.dat texipost.dat partparse.pyc |
| 170 | $(PARTPARSE) -o lib1.texi `./whichlibs` |
| 171 | |
| 172 | lib.texi: lib1.texi fix.el |
| 173 | $(EMACS) -batch -l fix.el -f save-buffer -kill |
| 174 | cp lib1.texi lib.texi |
| 175 | |
| 176 | python-lib.info: lib.texi |
| 177 | -$(MAKEINFO) --footnote-style end --fill-column 72 \ |
| 178 | --paragraph-indent 0 lib.texi |
| 179 | |
| 180 | lib.info: python-lib.info |
| 181 | |
Guido van Rossum | 73827c6 | 1995-03-20 13:00:32 +0000 | [diff] [blame] | 182 | # Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to |
| 183 | # HTML converter. For more info on this program, see |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 184 | # <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>. |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 185 | |
Guido van Rossum | 9cb6480 | 1997-12-29 20:01:55 +0000 | [diff] [blame] | 186 | # Note that LaTeX2HTML inserts references to an icons directory in |
| 187 | # each page that it generates. I have placed a copy of this directory |
| 188 | # in the distribution to simplify the process of creating a |
| 189 | # self-contained HTML distribution; for this purpose I have also added |
| 190 | # a (trivial) index.html. Change the definition of $ICONSERVER in |
| 191 | # .latex2html-init to use a different location for the icons directory. |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 192 | |
Guido van Rossum | 9cb6480 | 1997-12-29 20:01:55 +0000 | [diff] [blame] | 193 | # The sed hack rips out a superfluous comma which I haven't found the |
| 194 | # source of. The prominent location makes it worth the extra step; |
| 195 | # this affects the title pages! |
Fred Drake | fc8f6f3 | 1996-12-06 18:45:30 +0000 | [diff] [blame] | 196 | |
Fred Drake | bc0cd37 | 1997-07-30 15:59:25 +0000 | [diff] [blame] | 197 | l2h: l2htut l2hext l2hlib l2hapi |
Guido van Rossum | 6938f06 | 1994-08-01 12:22:53 +0000 | [diff] [blame] | 198 | |
Fred Drake | b4d4e25 | 1996-11-11 21:03:01 +0000 | [diff] [blame] | 199 | l2htut: tut.dvi myformat.perl |
Guido van Rossum | 6938f06 | 1994-08-01 12:22:53 +0000 | [diff] [blame] | 200 | $(L2H) $(L2HARGS) tut.tex |
Fred Drake | fc8f6f3 | 1996-12-06 18:45:30 +0000 | [diff] [blame] | 201 | sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \ |
| 202 | <tut/tut.html >tut/xxx |
| 203 | mv tut/xxx tut/tut.html |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 204 | ln -s tut.html tut/index.html || true |
Guido van Rossum | 6938f06 | 1994-08-01 12:22:53 +0000 | [diff] [blame] | 205 | |
Fred Drake | b4d4e25 | 1996-11-11 21:03:01 +0000 | [diff] [blame] | 206 | l2hext: ext.dvi myformat.perl |
Guido van Rossum | 6938f06 | 1994-08-01 12:22:53 +0000 | [diff] [blame] | 207 | $(L2H) $(L2HARGS) ext.tex |
Fred Drake | fc8f6f3 | 1996-12-06 18:45:30 +0000 | [diff] [blame] | 208 | sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \ |
| 209 | <ext/ext.html >ext/xxx |
| 210 | mv ext/xxx ext/ext.html |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 211 | ln -s ext.html ext/index.html || true |
Guido van Rossum | 970871f | 1993-02-21 20:10:26 +0000 | [diff] [blame] | 212 | |
Fred Drake | b4d4e25 | 1996-11-11 21:03:01 +0000 | [diff] [blame] | 213 | l2hlib: lib.dvi myformat.perl |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 214 | ./fix_libaux.sed <lib.aux >lib1.aux |
| 215 | mv lib1.aux lib.aux |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 216 | $(L2H) $(L2HARGS) lib.tex |
Fred Drake | f1e6707 | 1996-12-06 15:11:34 +0000 | [diff] [blame] | 217 | sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \ |
| 218 | <lib/lib.html >lib/xxx |
| 219 | mv lib/xxx lib/lib.html |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 220 | ln -s lib.html lib/index.html || true |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 221 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 222 | l2hapi: api.dvi myformat.perl |
| 223 | $(L2H) $(L2HARGS) api.tex |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 224 | sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \ |
| 225 | <api/api.html >api/xxx |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 226 | mv api/xxx api/api.html |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 227 | ln -s api.html api/index.html || true |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 228 | |
Guido van Rossum | 330c660 | 1997-11-26 15:31:32 +0000 | [diff] [blame] | 229 | tarhtml: |
Guido van Rossum | 84cca44 | 1997-11-25 20:49:09 +0000 | [diff] [blame] | 230 | @echo "Did you remember to run makeMIFs.py in the ref subdirectory...?" |
| 231 | tar cf - index.html ???/???.css ???/*.html lib/*.gif icons/*.* | gzip >html.tar.gz |
| 232 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 233 | |
| 234 | # Housekeeping targets |
| 235 | |
Guido van Rossum | 9231c8f | 1997-05-15 21:43:21 +0000 | [diff] [blame] | 236 | # Remove temporary files; all except the following: |
| 237 | # - sources: .tex, .bib, .sty |
| 238 | # - useful results: .dvi, .ps, .texi, .info |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 239 | clean: l2hclean |
Guido van Rossum | 4ac605e | 1992-12-17 15:31:02 +0000 | [diff] [blame] | 240 | rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 241 | rm -f *.bak *.orig |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 242 | |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 243 | l2hclean: |
Fred Drake | 5de31fc | 1997-08-22 18:20:33 +0000 | [diff] [blame] | 244 | rm -rf api ext lib tut |
Fred Drake | 03ff6f7 | 1997-08-22 18:18:54 +0000 | [diff] [blame] | 245 | |
Guido van Rossum | e83e380 | 1995-03-17 16:01:35 +0000 | [diff] [blame] | 246 | # Remove temporaries as well as final products |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 247 | clobber: clean |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame] | 248 | rm -f *.dvi *.ps *.texi *.info *.info-[0-9]* |