File: Makefile

package info (click to toggle)
last-align 963-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,380 kB
  • sloc: cpp: 41,136; python: 2,744; ansic: 1,240; makefile: 383; sh: 255
file content (30 lines) | stat: -rw-r--r-- 926 bytes parent folder | download
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 > $@