view doc/Makefile @ 3949:29dfb873b32e

Small documentation cleanup Tweak the doc makefile to make it easier to build just the HTML docs and add a note to README.txt explaining how to do this for users that would prefer to read local docs in their web browser.
author Justus Pendleton <jpend@users.sourceforge.net>
date Fri, 23 Nov 2007 20:56:02 +0000
parents 068b3d7d4279
children 257b4eab3bb2
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)

html: ${COMPILED}
ht: ${WEBHT}
all: html ht

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/