view doc/Makefile @ 4492:5d43b2a5eb69

test that announcement.txt is pure ASCII... ...required at least up to python2.5 by distutils. (Note tht doc/announcement.txt is the *old* announcement from the last release, I've changed it so that setup.py will work for now and to illustrate what needed to be changed).
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Wed, 20 Apr 2011 13:12:53 +0000
parents 6ec048310de7
children b59ba4dda623
line wrap: on
line source

STXTOHTML = rst2html.py
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}

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