added section on plugging in your own sequence parser
[pygr.git] / doc / Makefile
blobd494c63bb1749009415b55dd99b4b56451b99e2e
1 PWD=$(shell pwd)
2 PYTHON=$(shell python)
3 TEXINPUTS=$(PWD)/commontex:
5 MKHOWTO= TEXINPUTS=$(TEXINPUTS) $(PWD)/tools/mkhowto
6 MKHTML = $(MKHOWTO) --html --about html/stdabout.dat \
7 --iconserver icons --favicon icons/pyfav.png \
8 --address $(PYTHONDOCS)
10 PYTHONDOCS="See <i><a href=\"about.html\">About this document...</a></i> for information on suggesting changes."
12 DOC_DIR=rest
13 BUILD_DIR=html_new
14 EPYDOC_DIR=$(BUILD_DIR)/epydoc
16 all: newdocs
18 pygr: html/pygr/pygr.html
19 html/pygr/pygr.html: $(PYGRFILES) perl/distutils.perl
20 $(MKHTML) --dir html/pygr --split 4 pygr/pygr.tex
22 newdocs:
23 -mkdir -p $(BUILD_DIR)
24 sphinx-build -b html $(DOC_DIR) $(BUILD_DIR)
26 epydocs:
27 rm -rf $(EPYDOC_DIR)
28 epydoc --docformat restructuredtext ../pygr -o $(EPYDOC_DIR)
30 clean:
31 rm -rf html/pygr/*.html
32 rm -rf html/pygr/*.css
33 rm -rf html/pygr/*.pl
34 rm -rf html/pygr/*.dat