Mercurial > p > roundup > code
view doc/Makefile @ 4291:b1772fdb09d0
Fix traceback on .../msgN/ url...
...this requests the file content and for apache mod_wsgi produced a
traceback because the mime type is None for messages, fixes
issue2550586, thanks to ThomasAH for reporting and to Intevation for
funding the fix.
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Mon, 30 Nov 2009 21:55:59 +0000 |
| parents | 257b4eab3bb2 |
| children | 6ec048310de7 |
line wrap: on
line source
STXTOHTML = rst2html STXTOHT = rst2ht.py WEBDIR = ../../htdocs/htdocs/doc-1.0 SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \ glossary.txt implementation.txt index.txt design.txt mysql.txt \ installation.txt upgrading.txt user_guide.txt admin_guide.txt \ postgresql.txt tracker_templates.txt xmlrpc.txt COMPILED := $(SOURCE:.txt=.html) WEBHT := $(SOURCE:.txt=.ht) all: html ht html: ${COMPILED} ht: ${WEBHT} website: ${WEBHT} cp *.ht ${WEBDIR} cp -r images ${WEBDIR} %.html: %.txt ${STXTOHTML} --report=warning -d $< $@ %.ht: %.txt ${STXTOHT} --report=warning -d $< $@ clean: rm -f ${COMPILED}
