1998-05-08 12:36:36 -03:00
|
|
|
# Generate the Python "info" documentation.
|
|
|
|
|
1999-01-08 11:33:38 -04:00
|
|
|
PAPER=letter
|
|
|
|
TOPDIR=..
|
|
|
|
TOOLSDIR=$(TOPDIR)/tools
|
|
|
|
PAPERDIR=$(TOPDIR)/paper-$(PAPER)
|
|
|
|
HTMLDIR=$(TOPDIR)/html
|
1998-05-08 12:36:36 -03:00
|
|
|
|
1999-01-08 11:33:38 -04:00
|
|
|
MKINFO=$(TOOLSDIR)/mkinfo
|
1999-01-14 13:13:03 -04:00
|
|
|
SCRIPTS=$(TOOLSDIR)/html2texi.pl $(TOOLSDIR)/checkargs.pm $(TOOLSDIR)/mkinfo \
|
|
|
|
$(TOOLSDIR)/fixinfo.el
|
1998-05-08 12:36:36 -03:00
|
|
|
|
1999-01-08 11:33:38 -04:00
|
|
|
all: python-api.info python-ext.info python-lib.info \
|
1999-01-27 14:30:16 -04:00
|
|
|
python-ref.info python-tut.info
|
1998-05-08 12:36:36 -03:00
|
|
|
|
|
|
|
|
1999-01-08 11:33:38 -04:00
|
|
|
python-api.info: $(HTMLDIR)/api/api.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
1998-05-08 12:36:36 -03:00
|
|
|
|
1999-01-08 11:33:38 -04:00
|
|
|
python-ext.info: $(HTMLDIR)/ext/ext.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
1998-05-08 12:36:36 -03:00
|
|
|
|
1999-01-08 11:33:38 -04:00
|
|
|
python-lib.info: $(HTMLDIR)/lib/lib.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
1998-05-08 12:36:36 -03:00
|
|
|
|
1999-01-27 14:30:16 -04:00
|
|
|
# Not built by default; the conversion doesn't really handle it well.
|
1999-01-08 11:33:38 -04:00
|
|
|
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) $<
|
1998-05-08 12:36:36 -03:00
|
|
|
|
1998-05-11 16:54:57 -03:00
|
|
|
|
|
|
|
clean:
|
1999-01-08 11:33:38 -04:00
|
|
|
rm -f *.texi~ *.texi
|
1998-05-11 16:54:57 -03:00
|
|
|
|
|
|
|
clobber: clean
|
1999-01-08 11:33:38 -04:00
|
|
|
rm -f *.texi python-*.info python-*.info-[0-9]*
|
|
|
|
|
|
|
|
|
|
|
|
# The HTML files are dependent on the .aux files, which are dependent on the
|
|
|
|
# LaTeX source documents. This makes sure we can build info files from a
|
|
|
|
# "clean" tree:
|
|
|
|
|
|
|
|
$(HTMLDIR)/api/api.html: $(PAPERDIR)/api.aux $(BUILDINDEX)
|
|
|
|
(cd $(TOPDIR); $(MAKE) htmlapi)
|
|
|
|
|
|
|
|
$(HTMLDIR)/ext/ext.html: $(PAPERDIR)/ext.aux
|
|
|
|
(cd $(TOPDIR); $(MAKE) htmlext)
|
|
|
|
|
|
|
|
$(HTMLDIR)/lib/lib.html: $(PAPERDIR)/lib.aux $(BUILDINDEX)
|
|
|
|
(cd $(TOPDIR); $(MAKE) htmllib)
|
|
|
|
|
|
|
|
$(HTMLDIR)/mac/mac.html: $(MACFILES) $(BUILDINDEX)
|
|
|
|
(cd $(TOPDIR); $(MAKE) htmlmac)
|
|
|
|
|
|
|
|
$(HTMLDIR)/ref/ref.html: $(PAPERDIR)/ref.aux $(BUILDINDEX)
|
|
|
|
(cd $(TOPDIR); $(MAKE) htmlref)
|
|
|
|
|
|
|
|
$(HTMLDIR)/tut/tut.html: $(PAPERDIR)/tut.aux
|
|
|
|
(cd $(TOPDIR); $(MAKE) htmltut)
|
|
|
|
|
|
|
|
|
|
|
|
include ../Makefile.deps
|
|
|
|
|
|
|
|
$(PAPERDIR)/api.aux: $(APIFILES)
|
|
|
|
(cd $(PAPERDIR); $(MAKE) PAPER=$(PAPER) api.dvi)
|
|
|
|
|
|
|
|
$(PAPERDIR)/ext.aux: $(EXTFILES)
|
|
|
|
(cd $(PAPERDIR); $(MAKE) PAPER=$(PAPER) ext.dvi)
|
|
|
|
|
|
|
|
$(PAPERDIR)/lib.aux: $(LIBFILES)
|
|
|
|
(cd $(PAPERDIR); $(MAKE) PAPER=$(PAPER) lib.dvi)
|
|
|
|
|
|
|
|
$(PAPERDIR)/ref.aux: $(REFFILES)
|
|
|
|
(cd $(PAPERDIR); $(MAKE) PAPER=$(PAPER) ref.dvi)
|
|
|
|
|
|
|
|
$(PAPERDIR)/tut.aux: $(TUTFILES)
|
|
|
|
(cd $(PAPERDIR); $(MAKE) PAPER=$(PAPER) tut.dvi)
|