doc/makefile
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 05 Nov 2008 15:52:50 +0100
changeset 0 b97547f5f1fa
child 35 ef2bb51fbe5f
permissions -rw-r--r--
Showtime !

MKHTML=mkdoc
MKHTMLOPTS=--doctype article --target html --stylesheet standard 
SRC=.

TXTFILES:= $(wildcard *.txt)
TARGET := $(TXTFILES:.txt=.html)

all: ${TARGET} devmanual apidoc

%.html: %.txt
	${MKHTML} ${MKHTMLOPTS} $<

devmanual:
	cd devmanual_fr && make	
#apydoc: 
#	epydoc --html -o epydoc/ -n ../server/*.py ../core/*.py ../common/*.py ../server/*/*.py ../modpython/*/*.py ../common/*/*.py
apidoc:
	epydoc --html -o apidoc -n "cubicweb" --exclude=setup --exclude=__pkginfo__ ../
clean:
	rm -rf apidoc/
	rm -f *.html
	cd devmanual_fr && make	clean