view doc/Makefile @ 4585:033a550812fc

Fix another XSS with the "otk" parameter. Thanks to Jesse Ruderman for reporting.
author Ralf Schlatterbeck <rsc@runtux.com>
date Tue, 07 Feb 2012 14:39:02 +0100
parents b59ba4dda623
children
line wrap: on
line source

STXTOHTML = rst2html.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
html: ${COMPILED}

website: ${WEBHT}
	cp *.ht ${WEBDIR}
	cp -r images ${WEBDIR}

%.html: %.txt
	${STXTOHTML} --report=warning -d $< $@

clean:
	rm -f ${COMPILED}

Roundup Issue Tracker: http://roundup-tracker.org/