view doc/Makefile @ 3924:21d3d7eeea8c

assorted pyflakes fixes I (re-)discovered pyflakes today and ran it over to roundup code to see what it had to say. It reported a ton of "imported module foo but you're not actually using it" warnings and a couple of actual errors that this patch fixes. The code was wrong but it was mostly stuff that never gets executed...like hyperdb.Choice.
author Justus Pendleton <jpend@users.sourceforge.net>
date Thu, 27 Sep 2007 06:12:57 +0000
parents 068b3d7d4279
children 29dfb873b32e
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

COMPILED := $(SOURCE:.txt=.html)
WEBHT := $(SOURCE:.txt=.ht)

all: ${COMPILED} ${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}

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