git.annexia.org
/
virt-df.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3844c0e
)
Build documentation.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2008 08:29:29 +0000
(09:29 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2008 08:29:29 +0000
(09:29 +0100)
Makefile.in
patch
|
blob
|
history
diff --git
a/Makefile.in
b/Makefile.in
index
2211d32
..
1efa3fb
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-20,6
+20,9
@@
VERSION = @PACKAGE_VERSION@
INSTALL = @INSTALL@
+OCAMLDOC = @OCAMLDOC@
+OCAMLDOCFLAGS := -html -sort
+
SUBDIRS = lib virt-df
all opt depend install:
@@
-41,6
+44,18
@@
distclean: clean
rm -f Makefile
rm -f virt-df/Makefile
+# Developer documentation (in html/ subdirectory).
+
+ifneq ($(OCAMLDOC),)
+doc:
+ rm -rf html
+ mkdir html
+ -cd lib; \
+ $(OCAMLDOC) $(OCAMLDOCFLAGS) -d ../html \
+ -I +extlib -I +bitmatch \
+ diskimage.mli diskimage.ml
+endif
+
# Distribution.
dist: