blob: 24d60571d1ead1042122bde3a0ccae83331c923d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Generate the Python "info" documentation.
TOPDIR=..
TOOLSDIR=$(TOPDIR)/tools
HTMLDIR=$(TOPDIR)/html
MKINFO=$(TOOLSDIR)/mkinfo
SCRIPTS=$(TOOLSDIR)/html2texi.pl $(TOOLSDIR)/checkargs.pm $(TOOLSDIR)/mkinfo \
$(TOOLSDIR)/fixinfo.el
all: python-api.info python-ext.info python-lib.info \
python-ref.info python-tut.info \
python-dist.info python-inst.info
python-api.info: $(HTMLDIR)/api/api.html $(SCRIPTS)
$(MKINFO) $<
python-ext.info: $(HTMLDIR)/ext/ext.html $(SCRIPTS)
$(MKINFO) $<
python-lib.info: $(HTMLDIR)/lib/lib.html $(SCRIPTS)
$(MKINFO) $<
# Not built by default; the conversion doesn't really handle it well.
python-mac.info: $(HTMLDIR)/mac/mac.html $(SCRIPTS)
$(MKINFO) $<
python-ref.info: $(HTMLDIR)/ref/ref.html $(SCRIPTS)
$(MKINFO) $<
python-tut.info: $(HTMLDIR)/tut/tut.html $(SCRIPTS)
$(MKINFO) $<
python-dist.info: $(HTMLDIR)/dist/dist.html $(SCRIPTS)
$(MKINFO) $<
python-inst.info: $(HTMLDIR)/inst/inst.html $(SCRIPTS)
$(MKINFO) $<
clean:
rm -f *.texi~ *.texi
clobber: clean
rm -f *.texi python-*.info python-*.info-[0-9]*
# This makes sure we can build info files from a "clean" tree,
# in case we haven't already built the HTML:
$(HTMLDIR)/api/api.html:
(cd $(HTMLDIR); $(MAKE) api)
$(HTMLDIR)/ext/ext.html:
(cd $(HTMLDIR); $(MAKE) ext)
$(HTMLDIR)/lib/lib.html:
(cd $(HTMLDIR); $(MAKE) lib)
$(HTMLDIR)/mac/mac.html:
(cd $(HTMLDIR); $(MAKE) mac)
$(HTMLDIR)/ref/ref.html:
(cd $(HTMLDIR); $(MAKE) ref)
$(HTMLDIR)/tut/tut.html:
(cd $(HTMLDIR); $(MAKE) tut)
$(HTMLDIR)/dist/dist.html:
(cd $(HTMLDIR); $(MAKE) dist)
$(HTMLDIR)/inst/inst.html:
(cd $(HTMLDIR); $(MAKE) inst)
|