9 Set the installation prefix to <path>.
11 Set the installation directory for binaries to <path>.
13 Set the installation directory for data to <path>.
15 Set the installation directory for manpages to <path>.
17 Use the ruby interpreter specified by <path>
20 ## Process command line
50 echo "Invalid option: $arg" >&2
59 [ -n "$PREFIX" ] || PREFIX
=/usr
/local
60 [ -n "$bindir" ] || bindir
='${PREFIX}/bin'
61 [ -n "$datadir" ] || datadir
='${PREFIX}/share'
62 [ -n "$mandir" ] || mandir
='${PREFIX}/man'
63 [ -n "$RUBY" ] || RUBY
=`which ruby` || RUBY
=${bindir}/ruby
65 ## Test that a ruby interpreter has been found
69 No Ruby interpreter found. You may need to install ruby, or specify
70 the path to ruby with the --ruby command line option.
77 Installation prefix: $PREFIX
78 Install binaries to: $bindir
79 Install data files to: $datadir
80 Install manpages to: $mandir
81 Use Ruby interpreter: $RUBY
85 cat <<EOT > Makefile.cfg
95 truedatadir ?= $datadir
101 echo "Run make to build Mailvisa"