1 STXTOHTML = rst2html.py
2 STXTOHT = rst2ht.py
3 WEBDIR = ../../htdocs/htdocs/doc-1.0
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
10 COMPILED := $(SOURCE:.txt=.html)
11 WEBHT := $(SOURCE:.txt=.ht)
13 all: html ht
14 html: ${COMPILED}
15 ht: ${WEBHT}
17 website: ${WEBHT}
18 cp *.ht ${WEBDIR}
19 cp -r images ${WEBDIR}
21 %.html: %.txt
22 ${STXTOHTML} --report=warning -d $< $@
24 %.ht: %.txt
25 ${STXTOHT} --report=warning -d $< $@
27 clean:
28 rm -f ${COMPILED}