view doc/Makefile @ 4569:0470a2aa2c95

More .cvsignore -> .gitignore moves, hopefully complete this time.
author Eric S. Raymond <esr@thyrsus.com>
date Wed, 16 Nov 2011 08:05:41 -0500
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/