Premiere version : mise en route du suivi.
[auf_roundup.git] / doc / Makefile
1 STXTOHTML = rst2html.py
2 STXTOHT = rst2ht.py
3 WEBDIR = ../../htdocs/htdocs/doc-1.0
4
5 SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \
6 glossary.txt implementation.txt index.txt design.txt mysql.txt \
7 installation.txt upgrading.txt user_guide.txt admin_guide.txt \
8 postgresql.txt tracker_templates.txt xmlrpc.txt
9
10 COMPILED := $(SOURCE:.txt=.html)
11 WEBHT := $(SOURCE:.txt=.ht)
12
13 all: html ht
14 html: ${COMPILED}
15 ht: ${WEBHT}
16
17 website: ${WEBHT}
18 cp *.ht ${WEBDIR}
19 cp -r images ${WEBDIR}
20
21 %.html: %.txt
22 ${STXTOHTML} --report=warning -d $< $@
23
24 %.ht: %.txt
25 ${STXTOHT} --report=warning -d $< $@
26
27 clean:
28 rm -f ${COMPILED}