doc/devmanual_fr/makefile
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Tue, 11 Nov 2008 16:17:50 -0800
changeset 27 ef1c80154d6f
parent 0 b97547f5f1fa
permissions -rw-r--r--
Add a little in FAQ and HOWTO.

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