goa/doc/devmanual_fr/makefile
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 31 Aug 2009 16:48:53 +0200
branchstable
changeset 3062 a8e901fc4457
parent 0 b97547f5f1fa
permissions -rw-r--r--
ease overriding of copy warning

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