1 # Generate the Python "info" documentation.
5 TOOLSDIR
=$(TOPDIR
)/tools
6 PAPERDIR
=$(TOPDIR
)/paper-
$(PAPER
)
9 MKINFO
=$(TOOLSDIR
)/mkinfo
10 SCRIPTS
=$(TOOLSDIR
)/html2texi.pl
$(TOOLSDIR
)/checkargs.pm
$(TOOLSDIR
)/mkinfo \
11 $(TOOLSDIR
)/fixinfo.el
13 all: python-api.
info python-ext.
info python-lib.
info \
14 python-ref.
info python-tut.
info
17 python-api.
info: $(HTMLDIR
)/api
/api.html
$(SCRIPTS
)
20 python-ext.
info: $(HTMLDIR
)/ext
/ext.html
$(SCRIPTS
)
23 python-lib.
info: $(HTMLDIR
)/lib
/lib.html
$(SCRIPTS
)
26 # Not built by default; the conversion doesn't really handle it well.
27 python-mac.
info: $(HTMLDIR
)/mac
/mac.html
$(SCRIPTS
)
30 python-ref.
info: $(HTMLDIR
)/ref
/ref.html
$(SCRIPTS
)
33 python-tut.
info: $(HTMLDIR
)/tut
/tut.html
$(SCRIPTS
)
41 rm -f
*.texi python-
*.
info python-
*.info-
[0-9]*
44 # The HTML files are dependent on the .aux files, which are dependent on the
45 # LaTeX source documents. This makes sure we can build info files from a
48 $(HTMLDIR
)/api
/api.html
: $(PAPERDIR
)/api.aux
$(BUILDINDEX
)
49 (cd
$(TOPDIR
); $(MAKE
) htmlapi
)
51 $(HTMLDIR
)/ext
/ext.html
: $(PAPERDIR
)/ext.aux
52 (cd
$(TOPDIR
); $(MAKE
) htmlext
)
54 $(HTMLDIR
)/lib
/lib.html
: $(PAPERDIR
)/lib.aux
$(BUILDINDEX
)
55 (cd
$(TOPDIR
); $(MAKE
) htmllib
)
57 $(HTMLDIR
)/mac
/mac.html
: $(MACFILES
) $(BUILDINDEX
)
58 (cd
$(TOPDIR
); $(MAKE
) htmlmac
)
60 $(HTMLDIR
)/ref
/ref.html
: $(PAPERDIR
)/ref.aux
$(BUILDINDEX
)
61 (cd
$(TOPDIR
); $(MAKE
) htmlref
)
63 $(HTMLDIR
)/tut
/tut.html
: $(PAPERDIR
)/tut.aux
64 (cd
$(TOPDIR
); $(MAKE
) htmltut
)
67 include ..
/Makefile.deps
69 $(PAPERDIR
)/api.aux
: $(APIFILES
)
70 (cd
$(PAPERDIR
); $(MAKE
) PAPER
=$(PAPER
) api.
dvi)
72 $(PAPERDIR
)/ext.aux
: $(EXTFILES
)
73 (cd
$(PAPERDIR
); $(MAKE
) PAPER
=$(PAPER
) ext.
dvi)
75 $(PAPERDIR
)/lib.aux
: $(LIBFILES
)
76 (cd
$(PAPERDIR
); $(MAKE
) PAPER
=$(PAPER
) lib.
dvi)
78 $(PAPERDIR
)/ref.aux
: $(REFFILES
)
79 (cd
$(PAPERDIR
); $(MAKE
) PAPER
=$(PAPER
) ref.
dvi)
81 $(PAPERDIR
)/tut.aux
: $(TUTFILES
)
82 (cd
$(PAPERDIR
); $(MAKE
) PAPER
=$(PAPER
) tut.
dvi)