doc/makefile
changeset 0 b97547f5f1fa
child 35 ef2bb51fbe5f
equal deleted inserted replaced
-1:000000000000 0:b97547f5f1fa
       
     1 MKHTML=mkdoc
       
     2 MKHTMLOPTS=--doctype article --target html --stylesheet standard 
       
     3 SRC=.
       
     4 
       
     5 TXTFILES:= $(wildcard *.txt)
       
     6 TARGET := $(TXTFILES:.txt=.html)
       
     7 
       
     8 all: ${TARGET} devmanual apidoc
       
     9 
       
    10 %.html: %.txt
       
    11 	${MKHTML} ${MKHTMLOPTS} $<
       
    12 
       
    13 devmanual:
       
    14 	cd devmanual_fr && make	
       
    15 #apydoc: 
       
    16 #	epydoc --html -o epydoc/ -n ../server/*.py ../core/*.py ../common/*.py ../server/*/*.py ../modpython/*/*.py ../common/*/*.py
       
    17 apidoc:
       
    18 	epydoc --html -o apidoc -n "cubicweb" --exclude=setup --exclude=__pkginfo__ ../
       
    19 clean:
       
    20 	rm -rf apidoc/
       
    21 	rm -f *.html
       
    22 	cd devmanual_fr && make	clean