[libvirt] [PATCHv2 1/3] build: don't require pod2man for tarball builds

Daniel P. Berrange berrange at redhat.com
Mon Feb 21 17:03:49 UTC 2011


On Fri, Feb 18, 2011 at 03:24:55PM -0700, Eric Blake wrote:
> 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ò.
> ---
> 
> Re-send, minor VPATH tweaks from v1:
> https://www.redhat.com/archives/libvir-list/2011-February/msg00613.html
> 
>  daemon/.gitignore  |    3 ++-
>  daemon/Makefile.am |   10 ++++++----
>  tools/Makefile.am  |   15 ++++++++-------
>  3 files changed, 16 insertions(+), 12 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list