diff doc/Makefile @ 2409:096063697f77

merge
author Richard Jones <richard@users.sourceforge.net>
date Wed, 09 Jun 2004 00:25:32 +0000
parents f76d1642014a
children 0357a9c93933
line wrap: on
line diff
--- a/doc/Makefile	Tue Jun 08 23:43:44 2004 +0000
+++ b/doc/Makefile	Wed Jun 09 00:25:32 2004 +0000
@@ -1,5 +1,6 @@
-PYTHON = /usr/bin/python2
 STXTOHTML = rst2html
+STXTOHT = rst2ht.py
+WEBDIR = ../../htdocs/htdocs/doc-0.7
 
 SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \
     glossary.txt implementation.txt index.txt design.txt mysql.txt \
@@ -7,11 +8,18 @@
 	postgresql.txt tracker_templates.txt whatsnew-0.7.txt
 
 COMPILED := $(SOURCE:.txt=.html)
+WEBHT := $(SOURCE:.txt=.ht)
 
-all: ${COMPILED}
+all: ${COMPILED} ${WEBHT}
+
+website: ${WEBHT}
+	cp *.ht ${WEBDIR}
 
 %.html: %.txt
 	${STXTOHTML} --report=warning -d $< $@
 
+%.ht: %.txt
+	${STXTOHT} --report=warning -d $< $@
+
 clean:
 	rm -f ${COMPILED}

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