mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Move common parameters to mkhowto to a variable, add up-link from the
generated documents to the document index.
This commit is contained in:
		
							parent
							
								
									dfa539d770
								
							
						
					
					
						commit
						501b926da9
					
				
					 1 changed files with 13 additions and 19 deletions
				
			
		| 
						 | 
					@ -12,7 +12,10 @@ TEXINPUTS=$(TOPDIR)/paper-$(PAPER):$(TOPDIR)/texinputs:
 | 
				
			||||||
# Where are the various programs?
 | 
					# Where are the various programs?
 | 
				
			||||||
PYTHON=	   python
 | 
					PYTHON=	   python
 | 
				
			||||||
WEBCHECKER=$(PYTHON) $(TOPDIR)/../Tools/webchecker/webchecker.py
 | 
					WEBCHECKER=$(PYTHON) $(TOPDIR)/../Tools/webchecker/webchecker.py
 | 
				
			||||||
MKHOWTO=   $(TOOLSDIR)/mkhowto
 | 
					MKHOWTO=   $(TOOLSDIR)/mkhowto --about $(TOPDIR)/html/stdabout.dat \
 | 
				
			||||||
 | 
							--up-link ../index.html --up-title "Document Index" \
 | 
				
			||||||
 | 
							--address $(PYTHONDOCS)
 | 
				
			||||||
 | 
					MKHTML=	   $(MKHOWTO) --html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUILDINDEX=$(TOOLSDIR)/buildindex.py
 | 
					BUILDINDEX=$(TOOLSDIR)/buildindex.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,41 +65,32 @@ modindex.html: lib/lib.html mac/mac.html $(TOOLSDIR)/mkmodindex
 | 
				
			||||||
		lib/modindex.html mac/modindex.html
 | 
							lib/modindex.html mac/modindex.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
api/api.html:  $(APIFILES) $(BUILDINDEX)
 | 
					api/api.html:  $(APIFILES) $(BUILDINDEX)
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/api/api.tex
 | 
				
			||||||
		--html $(TOPDIR)/api/api.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
doc/doc.html:  $(DOCFILES) $(BUILDINDEX)
 | 
					doc/doc.html:  $(DOCFILES) $(BUILDINDEX)
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/doc/doc.tex
 | 
				
			||||||
		--html $(TOPDIR)/doc/doc.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
ext/ext.html:  $(EXTFILES)
 | 
					ext/ext.html:  $(EXTFILES)
 | 
				
			||||||
	echo $(EXTFILES)
 | 
						echo $(EXTFILES)
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/ext/ext.tex
 | 
				
			||||||
		--html $(TOPDIR)/ext/ext.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
lib/lib.html:  $(LIBFILES) $(BUILDINDEX)
 | 
					lib/lib.html:  $(LIBFILES) $(BUILDINDEX)
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/lib/lib.tex
 | 
				
			||||||
		--html $(TOPDIR)/lib/lib.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
mac/mac.html:  $(MACFILES) $(BUILDINDEX)
 | 
					mac/mac.html:  $(MACFILES) $(BUILDINDEX)
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/mac/mac.tex
 | 
				
			||||||
		--html $(TOPDIR)/mac/mac.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
ref/ref.html:  $(REFFILES) $(BUILDINDEX)
 | 
					ref/ref.html:  $(REFFILES) $(BUILDINDEX)
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/ref/ref.tex
 | 
				
			||||||
		--html $(TOPDIR)/ref/ref.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
tut/tut.html:  $(TUTFILES) $(TOOLSDIR)/mkhowto
 | 
					tut/tut.html:  $(TUTFILES) $(TOOLSDIR)/mkhowto
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) --numeric --split 3 $(TOPDIR)/tut/tut.tex
 | 
				
			||||||
		--html --numeric --split 3 $(TOPDIR)/tut/tut.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
inst/inst.html: $(INSTFILES) $(TOPDIR)/perl/distutils.perl
 | 
					inst/inst.html: $(INSTFILES) $(TOPDIR)/perl/distutils.perl
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/inst/inst.tex
 | 
				
			||||||
		--html $(TOPDIR)/inst/inst.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
dist/dist.html:$(DISTFILES) $(TOPDIR)/perl/distutils.perl
 | 
					dist/dist.html:$(DISTFILES) $(TOPDIR)/perl/distutils.perl
 | 
				
			||||||
	$(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
 | 
						$(MKHTML) $(TOPDIR)/dist/dist.tex
 | 
				
			||||||
		--html $(TOPDIR)/dist/dist.tex
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
webcheck: all
 | 
					webcheck: all
 | 
				
			||||||
	$(WEBCHECKER) $(HTMLBASE)/api/
 | 
						$(WEBCHECKER) $(HTMLBASE)/api/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue