1995-03-17 12:01:35 -04:00
|
|
|
# Makefile for Python documentation
|
|
|
|
# ---------------------------------
|
|
|
|
#
|
1995-03-20 09:00:32 -04:00
|
|
|
# See also the README file.
|
|
|
|
#
|
1999-04-22 11:16:14 -03:00
|
|
|
# This is a bit of a mess. The documents are identified by short names:
|
1998-05-11 15:25:46 -03:00
|
|
|
# api -- Python/C API Reference Manual
|
1999-04-22 11:16:14 -03:00
|
|
|
# doc -- Documenting Python
|
1998-05-11 15:25:46 -03:00
|
|
|
# ext -- Extending and Embedding the Python Interpreter
|
|
|
|
# lib -- Library Reference Manual
|
1998-07-24 12:42:12 -03:00
|
|
|
# mac -- Macintosh Library Modules
|
1998-05-07 16:30:16 -03:00
|
|
|
# ref -- Python Reference Manual
|
1998-05-11 15:25:46 -03:00
|
|
|
# tut -- Python Tutorial
|
2000-04-28 13:53:36 -03:00
|
|
|
# inst -- Installing Python Modules
|
|
|
|
# dist -- Distributing Python Modules
|
1995-03-17 12:01:35 -04:00
|
|
|
#
|
1998-05-07 16:30:16 -03:00
|
|
|
# The latex sources for each of these documents are in subdirectories
|
|
|
|
# with the three-letter designations above as the directory names.
|
1996-10-22 17:00:02 -03:00
|
|
|
#
|
1998-05-11 15:25:46 -03:00
|
|
|
# The main target creates DVI and PostScript for the main each of the
|
1998-07-28 18:05:16 -03:00
|
|
|
# documents. You can also do "make lib" (etc.) to create the DVI and
|
|
|
|
# PostScript versions of individual documents.
|
1995-03-17 12:01:35 -04:00
|
|
|
#
|
1998-05-07 16:30:16 -03:00
|
|
|
# The document classes and styles are in the texinputs/ directory.
|
|
|
|
# These define a number of macros that are similar in name and intent
|
|
|
|
# as macros in Texinfo (e.g. \code{...} and \emph{...}), as well as a
|
1998-07-28 18:05:16 -03:00
|
|
|
# number of environments for formatting function and data definitions.
|
1995-03-17 12:01:35 -04:00
|
|
|
#
|
1998-05-11 15:25:46 -03:00
|
|
|
# Everything is processed by LaTeX. See the file `README' for more
|
|
|
|
# information on the tools needed for processing.
|
1995-03-17 12:01:35 -04:00
|
|
|
#
|
|
|
|
# There's a problem with generating the index which has been solved by
|
|
|
|
# a sed command applied to the index file. The shell script fix_hack
|
|
|
|
# does this (the Makefile takes care of calling it).
|
|
|
|
#
|
|
|
|
# Additional targets attempt to convert selected LaTeX sources to
|
|
|
|
# various other formats. These are generally site specific because
|
|
|
|
# the tools used are all but universal. These targets are:
|
1998-07-24 12:42:12 -03:00
|
|
|
#
|
|
|
|
# html -- convert all documents from LaTeX to HTML
|
1998-07-28 18:05:16 -03:00
|
|
|
# pdf -- convert all documents from LaTeX to the
|
|
|
|
# Portable Document Format
|
1998-07-24 12:42:12 -03:00
|
|
|
#
|
1998-07-28 18:05:16 -03:00
|
|
|
# See the README file for more information on these targets.
|
1998-05-11 15:25:46 -03:00
|
|
|
#
|
|
|
|
# The formatted output is located in subdirectories. For PDF and
|
|
|
|
# PostScript, look in the paper-$(PAPER)/ directory. For HTML, look in
|
1998-07-24 12:42:12 -03:00
|
|
|
# the html/ directory. If you want to fix the GNU info process, look
|
1998-08-12 14:08:37 -03:00
|
|
|
# in the info/ directory; please send patches to python-docs@python.org.
|
1995-03-20 09:00:32 -04:00
|
|
|
|
|
|
|
# Customizations -- you *may* have to edit these
|
|
|
|
|
1998-05-07 16:30:16 -03:00
|
|
|
# you could set this to a4
|
|
|
|
PAPER=letter
|
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
# Ideally, you shouldn't need to edit beyond this point
|
1995-03-17 12:01:35 -04:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
HTMLDIR= html
|
1998-05-08 12:43:08 -03:00
|
|
|
INFODIR= info
|
1998-08-12 14:08:37 -03:00
|
|
|
TOOLSDIR= tools
|
1992-07-07 06:06:34 -03:00
|
|
|
|
1999-07-12 13:52:50 -03:00
|
|
|
# This is the *documentation* release, and is used to construct the file
|
|
|
|
# names of the downloadable tarballs.
|
2000-04-06 15:38:30 -03:00
|
|
|
RELEASE=1.6a2
|
1999-07-12 13:52:50 -03:00
|
|
|
|
1998-01-13 12:33:09 -04:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
# These must be declared phony since there
|
|
|
|
# are directories with matching names:
|
2000-04-28 13:53:36 -03:00
|
|
|
.PHONY: api doc ext lib mac ref tut inst dist
|
2000-04-07 13:27:15 -03:00
|
|
|
.PHONY: html info longhtml
|
1998-05-06 22:39:06 -03:00
|
|
|
|
|
|
|
|
1995-03-17 12:01:35 -04:00
|
|
|
# Main target
|
1998-07-24 12:42:12 -03:00
|
|
|
all: ps
|
1998-05-07 16:30:16 -03:00
|
|
|
|
1998-07-24 12:42:12 -03:00
|
|
|
dvi:
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd paper-$(PAPER); $(MAKE) dvi)
|
1996-08-09 18:46:05 -03:00
|
|
|
|
1998-07-24 12:42:12 -03:00
|
|
|
pdf:
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd paper-$(PAPER); $(MAKE) pdf)
|
1998-03-06 17:29:34 -04:00
|
|
|
|
1998-07-24 12:42:12 -03:00
|
|
|
ps:
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd paper-$(PAPER); $(MAKE) ps)
|
1992-03-06 06:56:42 -04:00
|
|
|
|
1998-07-24 12:42:12 -03:00
|
|
|
world: ps pdf html tarballs
|
1998-05-11 15:25:46 -03:00
|
|
|
|
|
|
|
|
|
|
|
# Targets for each document:
|
1998-08-12 14:08:37 -03:00
|
|
|
api api.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) api.ps)
|
1998-05-11 15:25:46 -03:00
|
|
|
|
1999-03-16 12:11:27 -04:00
|
|
|
doc doc.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) doc.ps)
|
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
ext ext.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) ext.ps)
|
1998-05-11 15:25:46 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
lib lib.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) lib.ps)
|
1998-05-11 15:25:46 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
mac mac.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) mac.ps)
|
1998-05-11 15:25:46 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
ref ref.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) ref.ps)
|
1998-07-24 10:58:27 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
tut tut.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) tut.ps)
|
1998-05-11 15:25:46 -03:00
|
|
|
|
2000-04-28 13:53:36 -03:00
|
|
|
inst inst.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) inst.ps)
|
|
|
|
|
|
|
|
dist dist.ps:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) dist.ps)
|
|
|
|
|
1998-05-11 15:25:46 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
api.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) api.dvi)
|
1998-05-11 15:25:46 -03:00
|
|
|
|
1999-03-16 12:11:27 -04:00
|
|
|
doc.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) doc.dvi)
|
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
ext.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) ext.dvi)
|
1998-05-07 16:30:16 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
lib.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) lib.dvi)
|
1998-05-07 16:30:16 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
mac.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) mac.dvi)
|
|
|
|
|
|
|
|
ref.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) ref.dvi)
|
|
|
|
|
|
|
|
tut.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) tut.dvi)
|
|
|
|
|
2000-04-28 13:53:36 -03:00
|
|
|
inst.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) inst.dvi)
|
|
|
|
|
|
|
|
dist.dvi:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) dist.dvi)
|
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
|
|
|
|
api.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) api.pdf)
|
|
|
|
|
1999-03-16 12:11:27 -04:00
|
|
|
doc.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) doc.pdf)
|
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
ext.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) ext.pdf)
|
|
|
|
|
|
|
|
lib.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) lib.pdf)
|
|
|
|
|
|
|
|
mac.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) mac.pdf)
|
|
|
|
|
|
|
|
ref.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) ref.pdf)
|
|
|
|
|
|
|
|
tut.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) tut.pdf)
|
1998-05-07 16:30:16 -03:00
|
|
|
|
2000-04-28 13:53:36 -03:00
|
|
|
inst.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) inst.pdf)
|
|
|
|
|
|
|
|
dist.pdf:
|
|
|
|
(cd paper-$(PAPER); $(MAKE) dist.pdf)
|
|
|
|
|
1995-03-17 12:01:35 -04:00
|
|
|
|
|
|
|
# The remaining part of the Makefile is concerned with various
|
1995-03-20 09:00:32 -04:00
|
|
|
# conversions, as described above. See also the README file.
|
1995-03-17 12:01:35 -04:00
|
|
|
|
1998-05-08 12:43:08 -03:00
|
|
|
info:
|
|
|
|
(cd $(INFODIR); $(MAKE))
|
1998-02-22 15:47:13 -04:00
|
|
|
|
1995-03-20 09:00:32 -04:00
|
|
|
# Targets to convert the manuals to HTML using Nikos Drakos' LaTeX to
|
|
|
|
# HTML converter. For more info on this program, see
|
1995-03-17 12:01:35 -04:00
|
|
|
# <URL:http://cbl.leeds.ac.uk/nikos/tex2html/doc/latex2html/latex2html.html>.
|
1996-11-11 17:03:01 -04:00
|
|
|
|
1997-12-29 16:01:55 -04:00
|
|
|
# Note that LaTeX2HTML inserts references to an icons directory in
|
|
|
|
# each page that it generates. I have placed a copy of this directory
|
|
|
|
# in the distribution to simplify the process of creating a
|
|
|
|
# self-contained HTML distribution; for this purpose I have also added
|
|
|
|
# a (trivial) index.html. Change the definition of $ICONSERVER in
|
1998-04-28 16:20:43 -03:00
|
|
|
# perl/l2hinit.perl to use a different location for the icons directory.
|
1996-11-11 17:03:01 -04:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
# If you have the standard LaTeX2HTML icons installed, the versions shipped
|
|
|
|
# with this documentation should be stored in a separate directory and used
|
|
|
|
# instead. The standard set does *not* include all the icons used in the
|
|
|
|
# Python documentation.
|
1998-05-06 22:39:06 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile)
|
1996-11-11 17:03:01 -04:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
htmlapi:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile api)
|
1994-08-01 09:22:53 -03:00
|
|
|
|
1999-03-18 15:08:47 -04:00
|
|
|
htmldoc:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile doc)
|
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
htmlext:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile ext)
|
1993-02-21 16:10:26 -04:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
htmllib:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile lib)
|
1998-05-06 16:51:39 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
htmlmac:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile mac)
|
1998-05-15 14:02:10 -03:00
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
htmlref:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile ref)
|
|
|
|
|
|
|
|
htmltut:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile tut)
|
1995-03-17 12:01:35 -04:00
|
|
|
|
2000-04-28 13:53:36 -03:00
|
|
|
htmlinst:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile inst)
|
|
|
|
|
|
|
|
htmldist:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) PAPER=$(PAPER) -f ../html/Makefile dist)
|
|
|
|
|
2000-04-07 13:27:15 -03:00
|
|
|
longhtml:
|
|
|
|
(cd longhtml; $(MAKE) PAPER=$(PAPER))
|
|
|
|
|
1998-03-06 17:29:34 -04:00
|
|
|
|
|
|
|
# webchecker needs an extra flag to process the huge index from the libref
|
|
|
|
webcheck:
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd $(HTMLDIR); $(MAKE) -f ../html/Makefile webcheck)
|
|
|
|
|
|
|
|
|
|
|
|
# Release packaging targets:
|
1997-05-15 18:43:21 -03:00
|
|
|
|
1999-01-08 11:49:45 -04:00
|
|
|
info-$(RELEASE).tgz: info
|
1999-01-29 18:23:25 -04:00
|
|
|
(cd $(INFODIR); tar cf - README python.dir python-???.info*) \
|
|
|
|
| gzip -9 >$@
|
1998-02-19 12:01:04 -04:00
|
|
|
|
1999-07-27 13:30:59 -03:00
|
|
|
info-$(RELEASE).tar.bz2: info
|
|
|
|
(cd $(INFODIR); tar cf - README python.dir python-???.info*) \
|
|
|
|
| bzip2 -9 >$@
|
|
|
|
|
1998-05-11 18:10:15 -03:00
|
|
|
latex-$(RELEASE).tgz:
|
1999-08-02 17:20:14 -03:00
|
|
|
$(TOOLSDIR)/mksourcepkg --gzip $(RELEASE)
|
1998-03-05 12:37:34 -04:00
|
|
|
|
1999-07-27 13:30:59 -03:00
|
|
|
latex-$(RELEASE).tar.bz2:
|
1999-08-02 17:20:14 -03:00
|
|
|
$(TOOLSDIR)/mksourcepkg --bzip2 $(RELEASE)
|
1999-07-27 13:30:59 -03:00
|
|
|
|
1999-07-23 13:11:36 -03:00
|
|
|
latex-$(RELEASE).zip:
|
2000-04-04 17:58:25 -03:00
|
|
|
rm -f $@
|
1999-08-02 17:20:14 -03:00
|
|
|
$(TOOLSDIR)/mksourcepkg --zip $(RELEASE)
|
1999-07-23 13:11:36 -03:00
|
|
|
|
1998-07-29 00:49:44 -03:00
|
|
|
pdf-$(PAPER)-$(RELEASE).tgz: pdf
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd paper-$(PAPER); tar cf - *.pdf) | gzip -9 >$@
|
1998-02-12 18:33:50 -04:00
|
|
|
|
1999-07-27 13:30:59 -03:00
|
|
|
pdf-$(PAPER)-$(RELEASE).tar.bz2: pdf
|
|
|
|
(cd paper-$(PAPER); tar cf - *.pdf) | bzip2 -9 >$@
|
|
|
|
|
1999-07-23 13:11:36 -03:00
|
|
|
pdf-$(PAPER)-$(RELEASE).zip: pdf
|
2000-04-04 17:58:25 -03:00
|
|
|
rm -f $@
|
|
|
|
(cd paper-$(PAPER); zip -q -9 ../$@ *.pdf)
|
1999-07-23 13:11:36 -03:00
|
|
|
|
1999-07-27 13:30:59 -03:00
|
|
|
postscript-$(PAPER)-$(RELEASE).tar.bz2: ps
|
1998-08-28 18:17:58 -03:00
|
|
|
(cd paper-$(PAPER); $(MAKE) README)
|
2000-04-04 17:58:25 -03:00
|
|
|
(cd paper-$(PAPER); tar cf - *.ps README) | bzip2 -9 >$@
|
1998-02-12 18:33:50 -04:00
|
|
|
|
1999-07-27 13:30:59 -03:00
|
|
|
postscript-$(PAPER)-$(RELEASE).tgz: ps
|
|
|
|
(cd paper-$(PAPER); $(MAKE) README)
|
2000-04-04 17:58:25 -03:00
|
|
|
(cd paper-$(PAPER); tar cf - *.ps README) | gzip -9 >$@
|
1999-07-27 13:30:59 -03:00
|
|
|
|
1999-07-23 13:11:36 -03:00
|
|
|
postscript-$(PAPER)-$(RELEASE).zip: ps
|
|
|
|
(cd paper-$(PAPER); $(MAKE) README)
|
2000-04-04 17:58:25 -03:00
|
|
|
rm -f $@
|
|
|
|
(cd paper-$(PAPER); zip -q -9 ../$@ *.ps README)
|
1999-07-23 13:11:36 -03:00
|
|
|
|
1999-01-12 16:32:39 -04:00
|
|
|
html-$(RELEASE).tgz: html
|
2000-04-04 17:58:25 -03:00
|
|
|
(cd $(HTMLDIR); \
|
|
|
|
tar cf - *index.html ???/*.css ???/*.html */*.gif) \
|
1998-05-11 15:53:07 -03:00
|
|
|
| gzip -9 >$@
|
1998-01-13 12:33:09 -04:00
|
|
|
|
1999-07-27 13:30:59 -03:00
|
|
|
html-$(RELEASE).tar.bz2: html
|
2000-04-04 17:58:25 -03:00
|
|
|
(cd $(HTMLDIR); \
|
|
|
|
tar cf - *index.html ???/*.css ???/*.html */*.gif) \
|
1999-07-27 13:30:59 -03:00
|
|
|
| bzip2 -9 >$@
|
|
|
|
|
1999-07-23 13:11:36 -03:00
|
|
|
html-$(RELEASE).zip: html
|
2000-04-04 17:58:25 -03:00
|
|
|
rm -f $@
|
|
|
|
(cd $(HTMLDIR); \
|
|
|
|
zip -q -9 ../$@ *index.html ???/*.css ???/*.html */*.gif)
|
1999-07-23 13:11:36 -03:00
|
|
|
|
2000-04-07 13:27:15 -03:00
|
|
|
longhtml-$(RELEASE).zip: longhtml
|
|
|
|
rm -f $@
|
|
|
|
(cd longhtml; \
|
|
|
|
zip -q -9 ../$@ */*.css */*.html */*.gif)
|
|
|
|
|
1998-02-19 12:01:04 -04:00
|
|
|
# convenience targets:
|
|
|
|
|
1998-08-12 14:08:37 -03:00
|
|
|
tarhtml: html-$(RELEASE).tgz
|
1999-01-08 11:49:45 -04:00
|
|
|
tarinfo: info-$(RELEASE).tgz
|
1998-08-12 14:08:37 -03:00
|
|
|
tarps: postscript-$(PAPER)-$(RELEASE).tgz
|
|
|
|
tarpdf: pdf-$(PAPER)-$(RELEASE).tgz
|
|
|
|
tarlatex: latex-$(RELEASE).tgz
|
1998-02-19 12:01:04 -04:00
|
|
|
|
1999-08-02 17:20:14 -03:00
|
|
|
tarballs: tarpdf tarps tarhtml
|
1997-11-25 16:49:09 -04:00
|
|
|
|
1999-07-23 13:11:36 -03:00
|
|
|
ziphtml: html-$(RELEASE).zip
|
2000-04-07 13:27:15 -03:00
|
|
|
ziplonghtml: longhtml-$(RELEASE).zip
|
1999-07-23 13:11:36 -03:00
|
|
|
zipps: postscript-$(PAPER)-$(RELEASE).zip
|
|
|
|
zippdf: pdf-$(PAPER)-$(RELEASE).zip
|
|
|
|
ziplatex: latex-$(RELEASE).zip
|
|
|
|
|
2000-04-07 13:27:15 -03:00
|
|
|
zips: zippdf zipps ziphtml ziplonghtml
|
1999-07-23 13:11:36 -03:00
|
|
|
|
1999-07-27 13:30:59 -03:00
|
|
|
bziphtml: html-$(RELEASE).tar.bz2
|
|
|
|
bzipinfo: info-$(RELEASE).tar.bz2
|
|
|
|
bzipps: postscript-$(PAPER)-$(RELEASE).tar.bz2
|
|
|
|
bzippdf: pdf-$(PAPER)-$(RELEASE).tar.bz2
|
|
|
|
bziplatex: latex-$(RELEASE).tar.bz2
|
|
|
|
|
1999-08-02 17:20:14 -03:00
|
|
|
bzips: bzippdf bzipps bziphtml
|
1999-07-27 13:30:59 -03:00
|
|
|
|
|
|
|
distfiles: tarballs zips bzips
|
1999-08-02 17:20:14 -03:00
|
|
|
$(TOOLSDIR)/mksourcepkg --all $(RELEASE)
|
1999-07-27 13:30:59 -03:00
|
|
|
|
1995-03-17 12:01:35 -04:00
|
|
|
|
|
|
|
# Housekeeping targets
|
|
|
|
|
1997-05-15 18:43:21 -03:00
|
|
|
# Remove temporary files; all except the following:
|
1998-03-03 18:02:19 -04:00
|
|
|
# - sources: .tex, .bib, .sty, *.cls
|
1998-02-12 18:33:50 -04:00
|
|
|
# - useful results: .dvi, .pdf, .ps, .texi, .info
|
1998-03-06 17:29:34 -04:00
|
|
|
clean:
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd paper-$(PAPER); $(MAKE) clean)
|
2000-04-07 13:27:15 -03:00
|
|
|
(cd longhtml; $(MAKE) clean)
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd $(HTMLDIR); $(MAKE) clean)
|
1998-05-11 18:10:15 -03:00
|
|
|
(cd $(INFODIR); $(MAKE) clean)
|
1992-07-07 06:06:34 -03:00
|
|
|
|
1997-08-22 15:18:54 -03:00
|
|
|
l2hclean:
|
1999-01-08 11:49:45 -04:00
|
|
|
(cd $(HTMLDIR); $(MAKE) clean)
|
1997-08-22 15:18:54 -03:00
|
|
|
|
1995-03-17 12:01:35 -04:00
|
|
|
# Remove temporaries as well as final products
|
1999-01-08 11:49:45 -04:00
|
|
|
clobber:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) clobber)
|
1998-08-12 14:08:37 -03:00
|
|
|
rm -f html-$(RELEASE).tgz info-$(RELEASE).tgz
|
|
|
|
rm -f pdf-$(RELEASE).tgz postscript-$(RELEASE).tgz
|
1999-07-23 13:11:36 -03:00
|
|
|
rm -f latex-$(RELEASE).tgz html-$(RELEASE).zip
|
|
|
|
rm -f pdf-$(RELEASE).zip postscript-$(RELEASE).zip
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd paper-$(PAPER); $(MAKE) clobber)
|
2000-04-07 13:27:15 -03:00
|
|
|
(cd longhtml; $(MAKE) clobber)
|
1998-08-12 14:08:37 -03:00
|
|
|
(cd $(HTMLDIR); $(MAKE) clobber)
|
1998-05-11 18:10:15 -03:00
|
|
|
(cd $(INFODIR); $(MAKE) clobber)
|
1998-02-22 15:47:13 -04:00
|
|
|
|
|
|
|
realclean: clobber
|
|
|
|
distclean: clobber
|