setup 419 B

1234567891011121314151617181920212223242526
  1. #! /bin/sh
  2. aclocal -I lib
  3. autoconf
  4. autoheader
  5. automake --add-missing --copy
  6. if [ -f debian/rules ] ; then
  7. chmod +x debian/rules
  8. fi
  9. # Lots of fiddling as Solaris' which command does give error if which fails
  10. docbook=0
  11. if [ `uname -s` = "SunOS" ] ; then
  12. if [ "`which docbook2html`" = "/"* ] ; then
  13. docbook=1
  14. fi
  15. else
  16. if which docbook2html ; then
  17. docbook=1
  18. fi
  19. fi
  20. if [ $docbook = 1 ] ; then
  21. cd doc && make
  22. fi