build (593B)
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/. 5 6 VERS="1.7p6" 7 SECT="1" 8 NAME="MPI Tools" 9 10 echo "Building manual pages ..." 11 case $# in 12 0) 13 files=`ls *.pod` 14 ;; 15 *) 16 files=$* 17 ;; 18 esac 19 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 28 29 echo "Finished building." 30