goa/doc/devmanual_fr/makefile
author Arthur Lutz <arthur.lutz@logilab.fr>
Thu, 04 Apr 2019 13:45:23 +0200
branch3.0
changeset 12558 29291282facc
parent 0 b97547f5f1fa
permissions -rw-r--r--
Merging heads of old, closed branch

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