goa/doc/devmanual_fr/makefile
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Thu, 02 Apr 2009 11:51:46 -0700
changeset 1225 b35a009179ae
parent 0 b97547f5f1fa
permissions -rw-r--r--
[doc] Add seperate TOC file so that it will not all being displayed in the first page but in the TOC page accessible through a link.

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