goa/doc/devmanual_fr/makefile
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 07 Jul 2010 16:41:36 +0200
changeset 5930 23c23d7b5d6b
parent 0 b97547f5f1fa
permissions -rw-r--r--
[debian/control] do not forbid shipment with python 2.6

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