goa/doc/devmanual_fr/makefile
author Fabrice <fabrice@secondweb.fr>
Tue, 28 Jul 2009 10:23:48 +0200
changeset 2555 ca7b122f34fa
parent 0 b97547f5f1fa
permissions -rw-r--r--
fix html headers for forced html content type : main template and json controller

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