produce_html.sh.in 290 B

12345678910111213141516
  1. #!/bin/bash
  2. if test -e @PKGDATADIRECTORY@/existence.sh
  3. then
  4. . @PKGDATADIRECTORY@/existence.sh
  5. else
  6. . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
  7. fi
  8. if existence mandoc;
  9. then
  10. for f in `find . -name \*\.[1-9]`;
  11. do
  12. mandoc -T html $f > $f.html;
  13. done
  14. fi