X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=39cf86cf97b0ee4ee892b6d5af4303046ae41cdd;hb=73d6932ab2dd3f9120a1f4a532621c07cb174705;hp=621df7be0f4fe18353d52934ae60bdf0adee1241;hpb=cd2fd58da3f5648a62f3fb7586cdc910c09a31af;p=libguestfs.git diff --git a/Makefile.am b/Makefile.am index 621df7b..39cf86c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,9 +17,13 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src daemon examples +SUBDIRS = src daemon fish examples -EXTRA_DIST = make-initramfs.sh +EXTRA_DIST = \ + make-initramfs.sh update-initramfs.sh \ + guestfs.pod guestfs-actions.pod guestfs-structs.pod \ + libguestfs.spec \ + HACKING # Build the root filesystem. # Currently this is arch-dependent, so it seems like putting it in @@ -52,6 +56,24 @@ CLEANFILES = $(fs_DATA) emptydisk clean-local: rm -rf initramfs +# Manual page. +# guestfs-actions.pod and guestfs-structs are autogenerated. There is +# no include mechanism for POD, so we have to do it by hand. + +man_MANS = guestfs.3 + +guestfs.3: guestfs.pod guestfs-actions.pod guestfs-structs.pod + sed \ + -e '/@ACTIONS@/rguestfs-actions.pod' -e 's/@ACTIONS@//' \ + -e '/@STRUCTS@/rguestfs-structs.pod' -e 's/@STRUCTS@//' \ + < $< | \ + $(POD2MAN) \ + --section 3 \ + -c "Virtualization Support" \ + --name "guestfs" \ + --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ + > $@ + # Test-boot the image. test-boot: emptydisk