doc/makefile
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Tue, 11 Nov 2008 16:17:50 -0800
changeset 27 ef1c80154d6f
parent 0 b97547f5f1fa
child 35 ef2bb51fbe5f
permissions -rw-r--r--
Add a little in FAQ and HOWTO.

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