]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fixup manpage names and copyright dates
authorLaine Stump <laine@laine.org>
Tue, 24 Jul 2012 17:41:03 +0000 (13:41 -0400)
committerLaine Stump <laine@laine.org>
Wed, 25 Jul 2012 16:46:29 +0000 (12:46 -0400)
The copyright dates in the manpages haven't been updated in awhile.

Also, when pod2man converts a pod file into a manpage, it will only
remove the extension from the filename if it is ".pod". Some of the
libvirt pod files are named *.pod.in, and that filename is placed
unchanged into the manpage. This patch uses pod2man's --name option to
fix that.

Believe it or not, there's even a BZ for this:

  https://bugzilla.redhat.com/show_bug.cgi?id=819364

daemon/Makefile.am
daemon/libvirtd.pod.in
tools/Makefile.am
tools/virt-pki-validate.in
tools/virt-xml-validate.in

index 74250f6e818936350173c43f31e2637c0ce4154a..4c72b7b1c49b16bda7e0cad6bf07e6c6e64c560e 100644 (file)
@@ -376,7 +376,7 @@ POD2MAN = pod2man -c "Virtualization Support" \
                        -r "$(PACKAGE)-$(VERSION)" -s 8
 
 $(srcdir)/libvirtd.8.in: libvirtd.pod.in
-       $(AM_V_GEN)$(POD2MAN) $< $@
+       $(AM_V_GEN)$(POD2MAN) --name LIBVIRTD $< $@
 
 # This is needed for clients too, so can't wrap in
 # the WITH_LIBVIRTD conditional
index ea6c37dcb1e50809258f18c03fc32a41602250a2..3ada67cf3ae807a940558ff5b985fb91d6d0adce 100644 (file)
@@ -150,7 +150,7 @@ Please refer to the AUTHORS file distributed with libvirt.
 
 =head1 COPYRIGHT
 
-Copyright (C) 2006-2010 Red Hat, Inc., and the authors listed in the
+Copyright (C) 2006-2012 Red Hat, Inc., and the authors listed in the
 libvirt AUTHORS file.
 
 =head1 LICENSE
index c82a2fb1c51de0411db9d36e25122df66af08208..723db8e8a28bfc705b08870c496b3d0e728de221 100644 (file)
@@ -52,17 +52,17 @@ virt-xml-validate: virt-xml-validate.in Makefile
            || (rm $@ && exit 1) && chmod +x $@
 
 virt-xml-validate.1: virt-xml-validate.in
-       $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@
+       $(AM_V_GEN)$(POD2MAN) --name VIRT-XML-VALIDATE $< $(srcdir)/$@
 
 virt-pki-validate: virt-pki-validate.in Makefile
        $(AM_V_GEN)sed -e 's,[@]SYSCONFDIR@,$(sysconfdir),' < $< > $@ \
            || (rm $@ && exit 1) && chmod +x $@
 
 virt-pki-validate.1: virt-pki-validate.in
-       $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@
+       $(AM_V_GEN)$(POD2MAN) --name VIRT-PKI-VALIDATE $< $(srcdir)/$@
 
 virt-host-validate.1: virt-host-validate.c
-       $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@
+       $(AM_V_GEN)$(POD2MAN) --name VIRT-HOST-VALIDATE $< $(srcdir)/$@
 
 virt-sanlock-cleanup: virt-sanlock-cleanup.in Makefile
        $(AM_V_GEN)sed -e 's,[@]SYSCONFDIR@,$(sysconfdir),' \
@@ -70,7 +70,7 @@ virt-sanlock-cleanup: virt-sanlock-cleanup.in Makefile
            || (rm $@ && exit 1) && chmod +x $@
 
 virt-sanlock-cleanup.8: virt-sanlock-cleanup.in
-       $(AM_V_GEN)$(POD2MAN) $< $(srcdir)/$@
+       $(AM_V_GEN)$(POD2MAN) --name VIRT-SANLOCK-CLEANUP $< $(srcdir)/$@
 
 virt_host_validate_SOURCES = \
                virt-host-validate.c \
index 41647584cf4c6923a728856202957192d4221ad9..866a235427ea284c463a2bb22b19e4653f88809b 100755 (executable)
@@ -310,7 +310,7 @@ Alternatively report bugs to your software distributor / vendor.
 
 =head1 COPYRIGHT
 
-Copyright (C) 2006-2010 by Red Hat, Inc.
+Copyright (C) 2006-2012 by Red Hat, Inc.
 
 =head1 LICENSE
 
index 19592611b4ed1538aefce78245b9338c946100be..9ba3a0abc6ccb55f05dbfddbba85a105fe82bddd 100644 (file)
@@ -134,7 +134,7 @@ Alternatively report bugs to your software distributor / vendor.
 
 =head1 COPYRIGHT
 
-Copyright (C) 2009-2010 by Red Hat, Inc.
+Copyright (C) 2009-2012 by Red Hat, Inc.
 Copyright (C) 2009 by Daniel P. Berrange
 
 =head1 LICENSE