1998-05-08 15:36:36 +00:00
|
|
|
# Generate the Python "info" documentation.
|
|
|
|
|
1999-01-08 15:33:38 +00:00
|
|
|
TOPDIR=..
|
|
|
|
TOOLSDIR=$(TOPDIR)/tools
|
|
|
|
HTMLDIR=$(TOPDIR)/html
|
1998-05-08 15:36:36 +00:00
|
|
|
|
1999-01-08 15:33:38 +00:00
|
|
|
MKINFO=$(TOOLSDIR)/mkinfo
|
1999-01-14 17:13:03 +00:00
|
|
|
SCRIPTS=$(TOOLSDIR)/html2texi.pl $(TOOLSDIR)/checkargs.pm $(TOOLSDIR)/mkinfo \
|
|
|
|
$(TOOLSDIR)/fixinfo.el
|
1998-05-08 15:36:36 +00:00
|
|
|
|
1999-01-08 15:33:38 +00:00
|
|
|
all: python-api.info python-ext.info python-lib.info \
|
2000-10-26 19:26:47 +00:00
|
|
|
python-ref.info python-tut.info \
|
|
|
|
python-dist.info python-inst.info
|
1998-05-08 15:36:36 +00:00
|
|
|
|
|
|
|
|
1999-01-08 15:33:38 +00:00
|
|
|
python-api.info: $(HTMLDIR)/api/api.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
1998-05-08 15:36:36 +00:00
|
|
|
|
1999-01-08 15:33:38 +00:00
|
|
|
python-ext.info: $(HTMLDIR)/ext/ext.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
1998-05-08 15:36:36 +00:00
|
|
|
|
1999-01-08 15:33:38 +00:00
|
|
|
python-lib.info: $(HTMLDIR)/lib/lib.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
1998-05-08 15:36:36 +00:00
|
|
|
|
1999-01-27 18:30:16 +00:00
|
|
|
# Not built by default; the conversion doesn't really handle it well.
|
1999-01-08 15:33:38 +00: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 15:36:36 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
python-dist.info: $(HTMLDIR)/dist/dist.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
|
|
|
|
|
|
|
python-inst.info: $(HTMLDIR)/inst/inst.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
1998-05-11 19:54:57 +00:00
|
|
|
|
|
|
|
clean:
|
1999-01-08 15:33:38 +00:00
|
|
|
rm -f *.texi~ *.texi
|
1998-05-11 19:54:57 +00:00
|
|
|
|
|
|
|
clobber: clean
|
1999-01-08 15:33:38 +00:00
|
|
|
rm -f *.texi python-*.info python-*.info-[0-9]*
|
|
|
|
|
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
# This makes sure we can build info files from a "clean" tree,
|
|
|
|
# in case we haven't already built the HTML:
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/api/api.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) api
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/ext/ext.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) ext
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/lib/lib.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) lib
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/mac/mac.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) mac
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/ref/ref.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) ref
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/tut/tut.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) tut
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/dist/dist.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) dist
|
1999-01-08 15:33:38 +00:00
|
|
|
|
2000-10-26 19:26:47 +00:00
|
|
|
$(HTMLDIR)/inst/inst.html:
|
2001-07-17 16:48:55 +00:00
|
|
|
cd $(HTMLDIR) && $(MAKE) inst
|