Mercurial > p > roundup > code
comparison doc/Makefile @ 4550:b59ba4dda623
remove old website HT file support; alter repository mentioned in developers doc
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 21 Oct 2011 15:15:06 +1100 |
| parents | 6ec048310de7 |
| children |
comparison
equal
deleted
inserted
replaced
| 4547:d9d7319afffa | 4550:b59ba4dda623 |
|---|---|
| 1 STXTOHTML = rst2html.py | 1 STXTOHTML = rst2html.py |
| 2 STXTOHT = rst2ht.py | |
| 3 WEBDIR = ../../htdocs/htdocs/doc-1.0 | 2 WEBDIR = ../../htdocs/htdocs/doc-1.0 |
| 4 | 3 |
| 5 SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \ | 4 SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \ |
| 6 glossary.txt implementation.txt index.txt design.txt mysql.txt \ | 5 glossary.txt implementation.txt index.txt design.txt mysql.txt \ |
| 7 installation.txt upgrading.txt user_guide.txt admin_guide.txt \ | 6 installation.txt upgrading.txt user_guide.txt admin_guide.txt \ |
| 8 postgresql.txt tracker_templates.txt xmlrpc.txt | 7 postgresql.txt tracker_templates.txt xmlrpc.txt |
| 9 | 8 |
| 10 COMPILED := $(SOURCE:.txt=.html) | 9 COMPILED := $(SOURCE:.txt=.html) |
| 11 WEBHT := $(SOURCE:.txt=.ht) | 10 WEBHT := $(SOURCE:.txt=.ht) |
| 12 | 11 |
| 13 all: html ht | 12 all: html |
| 14 html: ${COMPILED} | 13 html: ${COMPILED} |
| 15 ht: ${WEBHT} | |
| 16 | 14 |
| 17 website: ${WEBHT} | 15 website: ${WEBHT} |
| 18 cp *.ht ${WEBDIR} | 16 cp *.ht ${WEBDIR} |
| 19 cp -r images ${WEBDIR} | 17 cp -r images ${WEBDIR} |
| 20 | 18 |
| 21 %.html: %.txt | 19 %.html: %.txt |
| 22 ${STXTOHTML} --report=warning -d $< $@ | 20 ${STXTOHTML} --report=warning -d $< $@ |
| 23 | 21 |
| 24 %.ht: %.txt | |
| 25 ${STXTOHT} --report=warning -d $< $@ | |
| 26 | |
| 27 clean: | 22 clean: |
| 28 rm -f ${COMPILED} | 23 rm -f ${COMPILED} |
