michael@0: #!/bin/sh michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: VERS="1.7p6" michael@0: SECT="1" michael@0: NAME="MPI Tools" michael@0: michael@0: echo "Building manual pages ..." michael@0: case $# in michael@0: 0) michael@0: files=`ls *.pod` michael@0: ;; michael@0: *) michael@0: files=$* michael@0: ;; michael@0: esac michael@0: michael@0: for name in $files michael@0: do michael@0: echo -n "$name ... " michael@0: # sname=`noext $name` michael@0: sname=`basename $name .pod` michael@0: pod2man --section="$SECT" --center="$NAME" --release="$VERS" $name > $sname.$SECT michael@0: echo "(done)" michael@0: done michael@0: michael@0: echo "Finished building." michael@0: