4 echo "Usage: $0 NAME.NUM.md" 1>&2
10 flagfile
="$srcdir/.md2man-works"
12 if [ ! -f "$flagfile" ]; then
13 # We test our smallest manpage just to see if the python setup works.
14 if "$srcdir/md-convert" --test "$srcdir/rsync-ssl.1.md" >/dev
/null
2>&1; then
17 outname
=`echo "$inname" | sed 's/\.md$//'`
18 if [ -f "$outname" ]; then
20 elif [ -f "$srcdir/$outname" ]; then
21 echo "Copying $srcdir/$outname"
22 cp -p "$srcdir/$outname" .
25 echo "ERROR: $outname cannot be created."
26 if [ -f "$HOME/build_farm/build_test.fns" ]; then
27 exit 0 # No exit errorno to avoid a build failure in the samba build farm
35 "$srcdir/md-convert" "$srcdir/$inname"