1
# Generate the Python "info" documentation.
4
TOOLSDIR=$(TOPDIR)/tools
7
MKINFO=$(TOOLSDIR)/mkinfo
8
SCRIPTS=$(TOOLSDIR)/html2texi.pl $(TOOLSDIR)/checkargs.pm $(TOOLSDIR)/mkinfo \
11
all: python-api.info python-ext.info python-lib.info \
12
python-ref.info python-tut.info \
13
python-dist.info python-inst.info
16
python-api.info: $(HTMLDIR)/api/api.html $(SCRIPTS)
19
python-ext.info: $(HTMLDIR)/ext/ext.html $(SCRIPTS)
22
python-lib.info: $(HTMLDIR)/lib/lib.html $(SCRIPTS)
25
# Not built by default; the conversion doesn't really handle it well.
26
python-mac.info: $(HTMLDIR)/mac/mac.html $(SCRIPTS)
29
python-ref.info: $(HTMLDIR)/ref/ref.html $(SCRIPTS)
32
python-tut.info: $(HTMLDIR)/tut/tut.html $(SCRIPTS)
35
python-dist.info: $(HTMLDIR)/dist/dist.html $(SCRIPTS)
38
python-inst.info: $(HTMLDIR)/inst/inst.html $(SCRIPTS)
45
rm -f *.texi python-*.info python-*.info-[0-9]*
48
# This makes sure we can build info files from a "clean" tree,
49
# in case we haven't already built the HTML:
51
$(HTMLDIR)/api/api.html:
52
(cd $(HTMLDIR); $(MAKE) api)
54
$(HTMLDIR)/ext/ext.html:
55
(cd $(HTMLDIR); $(MAKE) ext)
57
$(HTMLDIR)/lib/lib.html:
58
(cd $(HTMLDIR); $(MAKE) lib)
60
$(HTMLDIR)/mac/mac.html:
61
(cd $(HTMLDIR); $(MAKE) mac)
63
$(HTMLDIR)/ref/ref.html:
64
(cd $(HTMLDIR); $(MAKE) ref)
66
$(HTMLDIR)/tut/tut.html:
67
(cd $(HTMLDIR); $(MAKE) tut)
69
$(HTMLDIR)/dist/dist.html:
70
(cd $(HTMLDIR); $(MAKE) dist)
72
$(HTMLDIR)/inst/inst.html:
73
(cd $(HTMLDIR); $(MAKE) inst)