f725e3
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f725e3
From: Peter Jones <pjones@redhat.com>
f725e3
Date: Tue, 23 Sep 2014 09:58:49 -0400
f725e3
Subject: [PATCH] Fix up some man pages rpmdiff noticed.
f725e3
f725e3
---
f725e3
 configure.ac             |  2 ++
f725e3
 util/grub-macbless.8     | 26 +++++++++++++++++++
f725e3
 util/grub-mkimage.1      |  2 +-
f725e3
 util/grub-syslinux2cfg.1 | 65 ++++++++++++++++++++++++++++++++++++++++++++++++
f725e3
 4 files changed, 94 insertions(+), 1 deletion(-)
f725e3
 create mode 100644 util/grub-macbless.8
f725e3
 create mode 100644 util/grub-syslinux2cfg.1
f725e3
f725e3
diff --git a/configure.ac b/configure.ac
f725e3
index 53fd7c73ee6..048ce7c89fa 100644
f725e3
--- a/configure.ac
f725e3
+++ b/configure.ac
f725e3
@@ -76,6 +76,7 @@ grub_TRANSFORM([grub-fstest.3])
f725e3
 grub_TRANSFORM([grub-glue-efi.3])
f725e3
 grub_TRANSFORM([grub-install.1])
f725e3
 grub_TRANSFORM([grub-kbdcomp.3])
f725e3
+grub_TRANSFORM([grub-macbless.8])
f725e3
 grub_TRANSFORM([grub-menulst2cfg.1])
f725e3
 grub_TRANSFORM([grub-mkconfig.1])
f725e3
 grub_TRANSFORM([grub-mkfont.3])
f725e3
@@ -93,6 +94,7 @@ grub_TRANSFORM([grub-render-label.3])
f725e3
 grub_TRANSFORM([grub-script-check.3])
f725e3
 grub_TRANSFORM([grub-set-default.1])
f725e3
 grub_TRANSFORM([grub-sparc64-setup.3])
f725e3
+grub_TRANSFORM([grub-syslinux2cfg.1])
f725e3
 
f725e3
 # Optimization flag.  Allow user to override.
f725e3
 if test "x$TARGET_CFLAGS" = x; then
f725e3
diff --git a/util/grub-macbless.8 b/util/grub-macbless.8
f725e3
new file mode 100644
f725e3
index 00000000000..ae842f3a606
f725e3
--- /dev/null
f725e3
+++ b/util/grub-macbless.8
f725e3
@@ -0,0 +1,26 @@
f725e3
+.TH GRUB-MACBLESS 1 "Wed Feb 26 2014"
f725e3
+.SH NAME
f725e3
+\fBgrub-macbless\fR \(em Mac-style bless utility for HFS or HFS+
f725e3
+
f725e3
+.SH SYNOPSIS
f725e3
+\fBgrub-macbless\fR [-p | --ppc] [-v | --verbose] [-x | --x86] \fIFILE\fR
f725e3
+
f725e3
+.SH DESCRIPTION
f725e3
+\fBgrub-mkimage\fR blesses a file on an HFS or HFS+ file system, so that it
f725e3
+can be used to boot a Mac.
f725e3
+
f725e3
+.SH OPTIONS
f725e3
+.TP
f725e3
+--ppc
f725e3
+Bless the file for use on PPC-based Macs.
f725e3
+
f725e3
+.TP
f725e3
+--verbose
f725e3
+Print verbose messages.
f725e3
+
f725e3
+.TP
f725e3
+--x86
f725e3
+Bless the file for use on x86-based Macs.
f725e3
+
f725e3
+.SH SEE ALSO
f725e3
+.BR "info grub"
f725e3
diff --git a/util/grub-mkimage.1 b/util/grub-mkimage.1
f725e3
index 4dea4f54597..0eaaafe505b 100644
f725e3
--- a/util/grub-mkimage.1
f725e3
+++ b/util/grub-mkimage.1
f725e3
@@ -17,7 +17,7 @@
f725e3
 [-v | --verbose] \fIMODULES\fR
f725e3
 
f725e3
 .SH DESCRIPTION
f725e3
-\fBgrub-mkimage\fI builds a bootable image of GRUB.
f725e3
+\fBgrub-mkimage\fR builds a bootable image of GRUB.
f725e3
 
f725e3
 .SH OPTIONS
f725e3
 .TP
f725e3
diff --git a/util/grub-syslinux2cfg.1 b/util/grub-syslinux2cfg.1
f725e3
new file mode 100644
f725e3
index 00000000000..85309482718
f725e3
--- /dev/null
f725e3
+++ b/util/grub-syslinux2cfg.1
f725e3
@@ -0,0 +1,65 @@
f725e3
+.TH GRUB-SYSLINUX2CFG 1 "Wed Feb 26 2014"
f725e3
+.SH NAME
f725e3
+\fBgrub-syslinux2cfg\fR \(em Transform a syslinux config file into a GRUB config.
f725e3
+
f725e3
+.SH SYNOPSIS
f725e3
+\fBgrub-syslinux2cfg\fR [-c | --cwd=\fRDIR\fI] [-r | --root=\fIDIR\fR] [-v | --verbose]
f725e3
+.RE
f725e3
+.RS 25
f725e3
+[-t | --target-root=\fIDIR\fR] [-T | --target-cwd=\fIDIR\fR]
f725e3
+.RE
f725e3
+.RS 25
f725e3
+[-o | --output=\fIFILE\fR] [[-i | --isolinux] |
f725e3
+.RE
f725e3
+.RS 46
f725e3
+ [-s | --syslinux] |
f725e3
+.RE
f725e3
+.RS 46
f725e3
+ [-p | --pxelinux]] \fIFILE\fR
f725e3
+
f725e3
+.SH DESCRIPTION
f725e3
+\fBgrub-syslinux2cfg\fR builds a GRUB configuration file out of an existing
f725e3
+syslinux configuration file.
f725e3
+
f725e3
+.SH OPTIONS
f725e3
+.TP
f725e3
+--cwd=\fIDIR\fR
f725e3
+Set \fIDIR\fR as syslinux's working directory.  The default is to use the
f725e3
+parent directory of the input file.
f725e3
+
f725e3
+.TP
f725e3
+--root=\fIDIR\fR
f725e3
+Set \fIDIR\fR as the root directory of the syslinux disk.  The default value
f725e3
+is "/".
f725e3
+
f725e3
+.TP
f725e3
+--verbose
f725e3
+Print verbose messages.
f725e3
+
f725e3
+.TP
f725e3
+--target-root=\fIDIR\fR
f725e3
+Root directory as it will be seen at runtime.  The default value is "/".
f725e3
+
f725e3
+.TP
f725e3
+--target-cwd=\fIDIR\fR
f725e3
+Working directory of syslinux as it will be seen at runtime.  The default
f725e3
+value is the parent directory of the input file.
f725e3
+
f725e3
+.TP
f725e3
+--output=\fIFILE\fR
f725e3
+Write the new config file to \fIFILE\fR.  The default value is standard output.
f725e3
+
f725e3
+.TP
f725e3
+--isolinux
f725e3
+Assume that the input file is an isolinux configuration file.
f725e3
+
f725e3
+.TP
f725e3
+--pxelinux
f725e3
+Assume that the input file is a pxelinux configuration file.
f725e3
+
f725e3
+.TP
f725e3
+--syslinux
f725e3
+Assume that the input file is a syslinux configuration file.
f725e3
+
f725e3
+.SH SEE ALSO
f725e3
+.BR "info grub"