doc/makefile
changeset 0 b97547f5f1fa
child 35 ef2bb51fbe5f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/makefile	Wed Nov 05 15:52:50 2008 +0100
@@ -0,0 +1,22 @@
+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