[Python-checkins] CVS: python/dist/src/Doc Makefile,1.227,1.228

Fred L. Drake fdrake@users.sourceforge.net
Fri, 19 Oct 2001 14:13:00 -0700


Update of /cvsroot/python/python/dist/src/Doc
In directory usw-pr-cvs1:/tmp/cvs-serv12726

Modified Files:
	Makefile 
Log Message:
Additional rules to support the iSilo conversion.

Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/Makefile,v
retrieving revision 1.227
retrieving revision 1.228
diff -C2 -d -r1.227 -r1.228
*** Makefile	2001/10/18 18:46:22	1.227
--- Makefile	2001/10/19 21:12:57	1.228
***************
*** 77,80 ****
--- 77,83 ----
  		--up-title "Python Documentation Index" \
  		--global-module-index "../modindex.html"
+ MKISILOHTML=$(PYTHON) tools/mkhowto --html --about html/stdabout.dat \
+ 		--l2h-init perl/isilo.perl --numeric --split 1
+ MKISILO=   iSilo386 -U -y -rCR -d0
  MKPDF=	   $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --pdf
  MKPS=	   $(PYTHON) ../tools/mkhowto --paper=$(PAPER) --ps
***************
*** 127,131 ****
  # are directories with matching names:
  .PHONY: api doc ext lib mac ref tut inst dist
! .PHONY: html info
  
  
--- 130,134 ----
  # are directories with matching names:
  .PHONY: api doc ext lib mac ref tut inst dist
! .PHONY: html info isilo
  
  
***************
*** 291,294 ****
--- 294,395 ----
  
  
+ # The iSilo format is used by the iSilo document reader for PalmOS devices.
+ 
+ ISILOINDEXFILES=isilo/api/api.html \
+ 	isilo/doc/doc.html \
+ 	isilo/ext/ext.html \
+ 	isilo/lib/lib.html \
+ 	isilo/mac/mac.html \
+ 	isilo/ref/ref.html \
+ 	isilo/tut/tut.html \
+ 	isilo/inst/inst.html \
+ 	isilo/dist/dist.html
+ 
+ $(ISILOINDEXFILES): $(COMMONPERL) html/about.dat perl/isilo.perl
+ 
+ isilo:	isilo/python-api-$(RELEASE).pdb \
+ 	isilo/python-doc-$(RELEASE).pdb \
+ 	isilo/python-ext-$(RELEASE).pdb \
+ 	isilo/python-lib-$(RELEASE).pdb \
+ 	isilo/python-mac-$(RELEASE).pdb \
+ 	isilo/python-ref-$(RELEASE).pdb \
+ 	isilo/python-tut-$(RELEASE).pdb \
+ 	isilo/python-dist-$(RELEASE).pdb \
+ 	isilo/python-inst-$(RELEASE).pdb
+ 
+ isilo/python-api-$(RELEASE).pdb: isilo/api/api.html
+ 	$(MKISILO) "-iPython/C API Reference Manual" \
+ 		isilo/api/api.html $@
+ 
+ isilo/python-doc-$(RELEASE).pdb: isilo/doc/doc.html
+ 	$(MKISILO) "-iDocumenting Python" \
+ 		isilo/doc/doc.html $@
+ 
+ isilo/python-ext-$(RELEASE).pdb: isilo/ext/ext.html
+ 	$(MKISILO) "-iExtending & Embedding Python" \
+ 		isilo/ext/ext.html $@
+ 
+ isilo/python-lib-$(RELEASE).pdb: isilo/lib/lib.html
+ 	$(MKISILO) "-iPython Library Reference" \
+ 		isilo/lib/lib.html $@
+ 
+ isilo/python-mac-$(RELEASE).pdb: isilo/mac/mac.html
+ 	$(MKISILO) "-iPython/C API Reference Manual" \
+ 		isilo/mac/mac.html $@
+ 
+ isilo/python-ref-$(RELEASE).pdb: isilo/ref/ref.html
+ 	$(MKISILO) "-iPython Reference Manual" \
+ 		isilo/ref/ref.html $@
+ 
+ isilo/python-tut-$(RELEASE).pdb: isilo/tut/tut.html
+ 	$(MKISILO) "-iPython Tutorial" \
+ 		isilo/tut/tut.html $@
+ 
+ isilo/python-dist-$(RELEASE).pdb: isilo/dist/dist.html
+ 	$(MKISILO) "-iDistributing Python Modules" \
+ 		isilo/dist/dist.html $@
+ 
+ isilo/python-inst-$(RELEASE).pdb: isilo/inst/inst.html
+ 	$(MKISILO) "-iInstalling Python Modules" \
+ 		isilo/inst/inst.html $@
+ 
+ isilo/api/api.html: $(APIFILES)
+ 	$(MKISILOHTML) --dir isilo/api api/api.tex
+ 
+ isilo/doc/doc.html: $(DOCFILES)
+ 	$(MKISILOHTML) --dir isilo/doc doc/doc.tex
+ 
+ isilo/ext/ext.html: $(EXTFILES)
+ 	$(MKISILOHTML) --dir isilo/ext ext/ext.tex
+ 
+ isilo/lib/lib.html: $(LIBFILES)
+ 	$(MKISILOHTML) --dir isilo/lib lib/lib.tex
+ 
+ isilo/mac/mac.html: $(MACFILES)
+ 	$(MKISILOHTML) --dir isilo/mac mac/mac.tex
+ 
+ isilo/ref/ref.html: $(REFFILES)
+ 	$(MKISILOHTML) --dir isilo/ref ref/ref.tex
+ 
+ isilo/tut/tut.html: $(TUTFILES)
+ 	$(MKISILOHTML) --dir isilo/tut tut/tut.tex
+ 
+ isilo/inst/inst.html: $(INSTFILES) perl/distutils.perl
+ 	$(MKISILOHTML) --dir isilo/inst inst/inst.tex
+ 
+ isilo/dist/dist.html: $(DISTFILES) perl/distutils.perl
+ 	$(MKISILOHTML) --dir isilo/dist dist/dist.tex
+ 
+ # These are useful if you need to transport the iSilo-ready HTML to
+ # another machine to perform the conversion:
+ 
+ isilozip:  isilo-html-$(RELEASE).zip
+ 
+ isilo-html-$(RELEASE).zip:	$(ISILOINDEXFILES)
+ 	rm -f $@
+ 	cd isilo && \
+ 		zip -q -9 ../$@ */*.css */*.html */*.txt
+ 
+ 
  # webchecker needs an extra flag to process the huge index from the libref
  WEBCHECKER=$(PYTHON) ../Tools/webchecker/webchecker.py
***************
*** 383,386 ****
--- 484,491 ----
  		zip -q -9 ../$@ *.html */*.css */*.html */*.gif */*.txt
  
+ isilo-$(RELEASE).zip:	isilo
+ 	cd isilo && zip -q -9 ../$@ python-*-$(RELEASE).pdb
+ 
+ 
  # convenience targets:
  
***************
*** 397,400 ****
--- 502,506 ----
  zippdf:		pdf-$(PAPER)-$(RELEASE).zip
  ziplatex:	latex-$(RELEASE).zip
+ zipisilo:	isilo-$(RELEASE).zip
  
  zips:		zippdf zipps ziphtml
***************
*** 442,445 ****
--- 548,554 ----
  	rm -rf html/api/ html/doc/ html/ext/ html/lib/ html/mac/
  	rm -rf html/ref/ html/tut/ html/inst/ html/dist/
+ 	rm -rf isilo/api/ isilo/doc/ isilo/ext/ isilo/lib/ isilo/mac/
+ 	rm -rf isilo/ref/ isilo/tut/ isilo/inst/ isilo/dist/
+ 	rm -f isilo/python-*-$(RELEASE).pdb isilo-$(RELEASE).zip
  
  realclean distclean:  clobber