1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# Rules for converting the txt documents to html.
DOCS = FAQ.html bisulfite.html last-dotplot.html last-evalues.html \
last-map-probs.html last-matrices.html last-pair-probs.html \
last-papers.html last-parallel.html last-postmask.html \
last-repeats.html last-seeds.html last-split.html last-train.html \
last-tuning.html last-tutorial.html last.html lastal.html lastdb.html \
maf-convert.html maf-cut.html
all: ${DOCS}
${DOCS}: last-doc.css Makefile
.SUFFIXES: .html .txt
# Ugh! Is there a better way?
RST_CSS = `locate html4css1.css | tail -n1`
#RST_CSS = html4css1.css
RSTFLAGS = --initial-header-level=2 --no-compact-lists \
--no-compact-field-lists --option-limit=0 --no-doc-info
.txt.html:
rst2html --stylesheet-path=${RST_CSS},last-doc.css ${RSTFLAGS} $< $@
last-matrices.txt: ../data/*.mat
../build/mat-doc.sh ../data/*.mat > $@
last-seeds.txt: ../data/*.seed
../build/seed-doc.sh ../data/*.seed > $@
|