out-of-tree build: fix documentation generation

This commit is contained in:
Hilko Bengen
2011-08-14 10:58:08 +02:00
committed by Richard W.M. Jones
parent 44c3a30026
commit ff101adf7e
20 changed files with 66 additions and 65 deletions

View File

@@ -31,12 +31,12 @@ noinst_DATA = $(top_builddir)/html/guestfs-ocaml.3.html
guestfs-ocaml.3 $(top_builddir)/html/guestfs-ocaml.3.html: stamp-guestfs-ocaml.pod
stamp-guestfs-ocaml.pod: guestfs-ocaml.pod create_disk.ml inspect_vm.ml
$(top_srcdir)/podwrapper.sh \
$(top_builddir)/podwrapper.sh \
--section 3 \
--man guestfs-ocaml.3 \
--html $(top_builddir)/html/guestfs-ocaml.3.html \
--verbatim create_disk.ml:@EXAMPLE1@ \
--verbatim inspect_vm.ml:@EXAMPLE2@ \
--verbatim $(srcdir)/create_disk.ml:@EXAMPLE1@ \
--verbatim $(srcdir)/inspect_vm.ml:@EXAMPLE2@ \
$<
touch $@