view doc/Makefile @ 4645:dc2a8d256952

Fix warning.
author Stefan Seefeld <stefan@seefeld.name>
date Thu, 04 Nov 2010 17:49:34 +0000
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/