INSTALL 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. install.sh is a POSIX sh script known to work with the following shells:
  2. ash
  3. dash
  4. bash
  5. ksh
  6. loksh
  7. mksh
  8. pdksh
  9. posh (0.14.1 or newer)
  10. yash
  11. zsh
  12. To install burncd to a compatible system install.sh can be used with the
  13. argument 'install'. Likewise to uninstall burncd 'uninstall' can be
  14. used. Additionally the following arguments can be passed to these
  15. install targets to configure the install paths.
  16. PREFIX - Install path prefix (/usr/local)
  17. BINDIR - Binary install directory (/usr/local/bin)
  18. DOCDIR - Documentation install directory (/usr/local/share/doc)
  19. MANDIR - Manpage install direcotry (/usr/local/share/man)
  20. DOCDIR will always have 'burncd-$VERSION' appended to the set directory
  21. and MANDIR will always have 'man1'. For example documentation will be
  22. installed to '/usr/local/doc/burncd-0.0/' and man pages will be
  23. installed to '/usr/local/man/man1'. VERSION is a hardcoded value set in
  24. install.sh.
  25. The configurable install directories can be either absolute or relative
  26. paths. If they are set as relative paths the value of PREFIX will be
  27. prepended to the install directory. For example if MANDIR is set to
  28. 'man' man pages will be installed to '/usr/local/man/man1/' instead of
  29. '/usr/local/share/man/man1/'.
  30. By design install.sh will not use any set environment variables and all
  31. configuration must be passed explicitly as arguments.
  32. EXAMPLES
  33. ./install.sh install PREFIX=/usr DESTDIR=/tmp
  34. Installs burncd to '/tmp/usr/'.
  35. ./install.sh uninstall PREFIX=/usr DESTDIR=/tmp
  36. Uninstalls burncd from '/tmp/usr/'.
  37. ./install.sh install DOCDIR=/usr/local/doc
  38. Installs documentation to '/usr/local/doc/burncd-$VERSION'.
  39. ./install.sh install MANDIR=man
  40. Installs man pages to '$PREFIX/man/man1/'.