doc/book/fr/makefile
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 13 Nov 2008 02:29:41 +0100
changeset 50 d642f43eb87d
parent 0 doc/devmanual_fr/makefile@b97547f5f1fa
child 53 537ad3e8e461
permissions -rw-r--r--
brutal hg mv

MKHTMLOPTS=--doctype book --param toc.section.depth=1  --target html --stylesheet standard 
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