man: Fix a build error, misc improvements

This commit is contained in:
Cole Robinson 2013-08-18 16:04:54 -04:00
parent c5e891f3ae
commit 8aa3ba9b63
7 changed files with 19 additions and 10 deletions

View File

@ -203,7 +203,8 @@ Please see http://virt-manager.org/page/BugReporting
=head1 COPYRIGHT
Copyright (C) Fujitsu Limited, and various contributors.
Copyright (C) Fujitsu Limited, Copyright (C) Red Hat, Inc,
and various contributors.
This is free software. You may redistribute copies of it under the terms
of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

View File

@ -142,7 +142,7 @@ Please see http://virt-manager.org/page/BugReporting
=head1 COPYRIGHT
Copyright (C) 2006-2012 Red Hat, Inc, and various contributors.
Copyright (C) Red Hat, Inc, and various contributors.
This is free software. You may redistribute copies of it under the terms
of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

View File

@ -228,7 +228,7 @@ Please see C<http://virt-manager.org/page/BugReporting>
=head1 COPYRIGHT
Copyright (C) 2006-2012 Red Hat, Inc, and various contributors.
Copyright (C) Red Hat, Inc, and various contributors.
This is free software. You may redistribute copies of it under the terms
of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

View File

@ -226,7 +226,7 @@ Please see http://virt-manager.org/page/BugReporting
=head1 COPYRIGHT
Copyright (C) 2006-2012 Red Hat, Inc, and various contributors.
Copyright (C) Red Hat, Inc, and various contributors.
This is free software. You may redistribute copies of it under the terms
of the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

View File

@ -350,7 +350,7 @@ network PXE boot. Additionally enable BIOS boot menu prompt.
Have guest permanently boot off a local kernel/initrd pair, with the
specified kernel options.
=item B<--boot kernel=KERNEL,initrd=INITRD,dtb=DTB
=item B<--boot kernel=KERNEL,initrd=INITRD,dtb=DTB>
Have guest permanently boot off a local kernel/initrd pair with an
external device tree binary. DTB can be required for some non-x86
@ -1380,7 +1380,7 @@ Please see http://virt-manager.org/page/BugReporting
=head1 COPYRIGHT
Copyright (C) 2006-2011 Red Hat, Inc, and various contributors.
Copyright (C) Red Hat, Inc, and various contributors.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License C<http://www.gnu.org/licenses/gpl.html>. There
is NO WARRANTY, to the extent permitted by law.

View File

@ -26,6 +26,10 @@ The following options are accepted when running C<virt-manager>:
Display command line help summary
=item --version
Show virt-manager's version number and exit
=item -c URI, --connect=URI
Specify the hypervisor connection C<URI>
@ -93,7 +97,7 @@ Please see L<http://virt-manager.org/page/BugReporting>
=head1 COPYRIGHT
Copyright (C) 2006-2013 Red Hat, Inc, and various contributors.
Copyright (C) Red Hat, Inc, and various contributors.
This is free software. You may redistribute copies of it under the terms of the GNU General
Public License C<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent
permitted by law.

View File

@ -169,13 +169,17 @@ class my_build(build):
mantype = "5"
newbase = "virt-image.pod"
appname = os.path.splitext(newbase)[0]
newpath = os.path.join(os.path.dirname(path),
os.path.splitext(newbase)[0] + "." + mantype)
appname + "." + mantype)
print "Generating %s" % newpath
ret = os.system('pod2man --release="" '
ret = os.system('pod2man '
'--center "Virtual Machine Manager" '
'< %s > %s' % (path, newpath))
'--release %s --name %s '
'< %s > %s' % (cliconfig.__version__,
appname.upper(),
path, newpath))
if ret != 0:
raise RuntimeError("Generating '%s' failed." % newpath)