Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 #!/bin/sh
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 VERS="1.7p6"
7 SECT="1"
8 NAME="MPI Tools"
10 echo "Building manual pages ..."
11 case $# in
12 0)
13 files=`ls *.pod`
14 ;;
15 *)
16 files=$*
17 ;;
18 esac
20 for name in $files
21 do
22 echo -n "$name ... "
23 # sname=`noext $name`
24 sname=`basename $name .pod`
25 pod2man --section="$SECT" --center="$NAME" --release="$VERS" $name > $sname.$SECT
26 echo "(done)"
27 done
29 echo "Finished building."