HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e1afc53cb98a85392955509257e4d687070f9a0b
[bpt/coccinelle.git]
/
ocaml
/
Makefile.doc
1
OCAMLDOC=ocamldoc
2
API=coccilib.mli
3
DEST=../docs
4
FLAGS=$(INCLUDES) -hide Pervasives
5
HTMLFLAGS=-all-params -colorize-code
6
7
doc: html
8
9
html:
10
mkdir -p $(DEST)/html
11
$(OCAMLDOC) $(FLAGS) -html $(HTMLFLAGS) -d $(DEST)/html $(API)
12
13
man:
14
mkdir -p $(DEST)/man
15
$(OCAMLDOC) $(FLAGS) -man -d $(DEST)/man $(API)
16
17
cleandoc:
18
rm -rf $(DEST)/html $(DEST)/man
19