goa/doc/devmanual_fr/makefile
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 18 Feb 2009 15:59:09 +0100
branchtls-sprint
changeset 807 e3cabbdd172a
parent 0 b97547f5f1fa
permissions -rw-r--r--
fix unittest_widgets.py: remove stupid (copy/paste) now().strftime call

MKHTMLOPTS=--doctype book --param toc.section.depth=1  --target html --stylesheet single-file
SRC=.

MKPDFOPTS=--doctype book --param toc.section.depth=2  --target pdf --stylesheet standard

TXTFILES:= $(wildcard *.txt)
TARGET := $(TXTFILES:.txt=.html)

all: index.html

index.html: *.txt
	mkdoc ${MKHTMLOPTS} index.txt

index.pdf: *.txt
	mkdoc ${MKPDFOPTS} index.txt

%.html: %.txt
	mkdoc ${MKHTMLOPTS} $<

clean:
	rm -f *.html