goa/doc/devmanual_fr/makefile
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Sun, 01 Nov 2009 21:40:03 +0100
branchstable
changeset 3788 3d5abcd7c852
parent 0 b97547f5f1fa
permissions -rw-r--r--
[migration] warn if 3.5 workflow migration is going to fail

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