1998-05-08 12:36:36 -03:00
|
|
|
# Generate the Python "info" documentation.
|
|
|
|
|
1999-01-08 11:33:38 -04:00
|
|
|
TOPDIR=..
|
|
|
|
TOOLSDIR=$(TOPDIR)/tools
|
|
|
|
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 \
|
2000-10-26 16:26:47 -03:00
|
|
|
python-ref.info python-tut.info \
|
|
|
|
python-dist.info python-inst.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
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
python-dist.info: $(HTMLDIR)/dist/dist.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
|
|
|
|
|
|
|
python-inst.info: $(HTMLDIR)/inst/inst.html $(SCRIPTS)
|
|
|
|
$(MKINFO) $<
|
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]*
|
|
|
|
|
|
|
|
|
2000-10-26 16:26:47 -03: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 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/api/api.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) api)
|
1999-01-08 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/ext/ext.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) ext)
|
1999-01-08 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/lib/lib.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) lib)
|
1999-01-08 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/mac/mac.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) mac)
|
1999-01-08 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/ref/ref.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) ref)
|
1999-01-08 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/tut/tut.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) tut)
|
1999-01-08 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/dist/dist.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) dist)
|
1999-01-08 11:33:38 -04:00
|
|
|
|
2000-10-26 16:26:47 -03:00
|
|
|
$(HTMLDIR)/inst/inst.html:
|
|
|
|
(cd $(HTMLDIR); $(MAKE) inst)
|