]> xenbits.xensource.com Git - libvirt.git/commit
build: don't require pod2man for tarball builds
authorEric Blake <eblake@redhat.com>
Wed, 16 Feb 2011 22:43:24 +0000 (15:43 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 21 Feb 2011 16:27:05 +0000 (09:27 -0700)
commit6db98a2d4b602aef5568c2885e6da57776b460ba
tree2376d046eb0a6c46dd01cd2c7005702660261304
parent994e7567b69bdb3bad588ed2022b941927f34c1f
build: don't require pod2man for tarball builds

Right now, 'man libvirtd' includes information that depends on
configure results, so it must be generated on the fly and live
in $(builddir); however, requiring pod2man on all end user
machines is overkill.  Meanwhile, 'man virsh' doesn't mention
any configure results, so it can be built at 'make dist' time.
If that situation changes in the future, we can generate virsh.1
in the same way that we generate libvirtd.8.

* daemon/Makefile.am (libvirtd.8.in): New rule, to run pod2man in
advance of distribution.
(libvirtd.8): Use only sed from tarball.
(EXTRA_DIST): Ship new file.
(libvirtd.pod): Delete unused rule.
(man8_MANS): Let automake know which section to use.
(CLEANFILES, MAINTAINERCLEANFILES): Adjust to new files.
* tools/Makefile.am (dist_man1_MANS): Distribute pre-built man
pages, fine since they don't require any substitution.
(virt-xml-validate.1, virt-pki-validate.1): Change input source.
(virsh.1): Build into srcdir.
(CLEANFILES, MAINTAINERCLEANFILES): Adjust to new build style.
* daemon/.gitignore: Update.
Reported by Diego Elio Pettenò.
daemon/.gitignore
daemon/Makefile.am
tools/Makefile.am