goa/doc/devmanual_fr/makefile
author sylvain.thenault@logilab.fr
Tue, 27 Jan 2009 13:52:50 +0100
branch3.0
changeset 477 79eccee30049
parent 0 b97547f5f1fa
permissions -rw-r--r--
allow divid as method argument (backport from default)

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