doc/makefile
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 05 Nov 2008 11:22:05 -0800
changeset 1 88d637274072
parent 0 b97547f5f1fa
child 35 ef2bb51fbe5f
permissions -rw-r--r--
Add modules to list and to index to have docstring integrated into the documentation. Needs to be completed. Sphinx required to explicitely list which modules we want to include in the documentation.

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