X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=8e2b49d64fd6c9610e5beb37c5c1f848a8deed80;hb=8358ea9524509c02448fe52d5bea205c9c3f869e;hp=9dc45a31dd3b17b765aabc1d2416bf5981ab3303;hpb=bc0b3d6f473e607972d29be27f7ae6b1d0489c3b;p=libguestfs.git diff --git a/Makefile.am b/Makefile.am index 9dc45a3..8e2b49d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,11 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src daemon fish examples -EXTRA_DIST = make-initramfs.sh +EXTRA_DIST = \ + make-initramfs.sh update-initramfs.sh \ + guestfs.pod guestfs-actions.pod \ + libguestfs.spec \ + HACKING # Build the root filesystem. # Currently this is arch-dependent, so it seems like putting it in @@ -52,6 +56,21 @@ CLEANFILES = $(fs_DATA) emptydisk clean-local: rm -rf initramfs +# Manual page. +# guestfs-actions.pod is 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 + sed -e '/@ACTIONS@/rguestfs-actions.pod' -e 's/@ACTIONS@//' < $< | \ + $(POD2MAN) \ + --section 3 \ + -c "Virtualization Support" \ + --name "guestfs" \ + --release "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ + > $@ + # Test-boot the image. test-boot: emptydisk