Fixed man page build on aix.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@629 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
bp-sawyers 2008-02-29 12:44:03 +00:00
parent 1c4a33daef
commit bed4fe8630
3 changed files with 3 additions and 2 deletions

View File

@ -61,6 +61,7 @@ EOS2
foreach my $a (@$colorder) {
my $d = $descriptions->{$a};
$d =~ s/\n/\n\n/; # if there are newlines, double them so pod sees a blank line, otherwise pod will ignore them
print FILE "\nI<$a> - $d\n";
}

View File

@ -32,7 +32,7 @@ Includes xCAT::Table, xCAT::NodeRange, among others.
# Convert pods to man pages, e.g.: pod2man pods/man5/chain.5.pod share/man/man5/chain.1
for i in pods/*/*.pod; do
man=${i/pods/share\/man}
man="share/man${i#pods}" # the substitute form is not supported on aix: ${i/pods/share\/man}
mkdir -p ${man%/*}
pod2man $i ${man%.pod}
done

View File

@ -30,7 +30,7 @@ xCAT-client provides the fundamental xCAT commands (chtab, chnode, rpower, etc)
# Convert pods to man pages, e.g.: pod2man pods/man1/tabdump.1.pod share/man/man1/tabdump.1
for i in pods/*/*.pod; do
man=${i/pods/share\/man}
man="share/man${i#pods}" # the substitute form is not supported on aix: ${i/pods/share\/man}
mkdir -p ${man%/*}
pod2man $i ${man%.pod}
done