2005-11-01 12:35:17 +01:00
|
|
|
Installation Instructions
|
|
|
|
*************************
|
|
|
|
|
2005-11-01 12:54:40 +01:00
|
|
|
If you plan to use the packages download feature of jhalfs and
|
2005-11-01 13:07:25 +01:00
|
|
|
your host system uses a md5sum program that doesn't accept '-'
|
|
|
|
as a file name, like the one shipped with Debian 3.1 stable,
|
|
|
|
apply the included patch, issuing:
|
2005-11-01 12:35:17 +01:00
|
|
|
|
|
|
|
patch -Np0 < jhalfs-0.2-debian_31_as_host-1.patch
|
|
|
|
|
2005-11-01 12:54:40 +01:00
|
|
|
jhalfs can be used directly from the sources directory, or
|
|
|
|
installed system-wide.
|
|
|
|
|
|
|
|
To install jhalfs system-wide issue as root:
|
2005-11-01 12:35:17 +01:00
|
|
|
|
2005-11-01 13:07:25 +01:00
|
|
|
make install
|
2005-11-01 12:35:17 +01:00
|
|
|
|
|
|
|
That will install the jhalfs script under /usr/bin, the
|
2005-11-01 12:54:40 +01:00
|
|
|
configuration file under /etc/jhalfs, and the style sheet,
|
2005-11-03 19:54:09 +01:00
|
|
|
functions, README, and LICENSE files under /usr/share/jhalfs.
|
2005-11-01 12:35:17 +01:00
|
|
|
|
2005-11-01 13:07:25 +01:00
|
|
|
To customize the installation locations, the following environment
|
2005-11-01 12:35:17 +01:00
|
|
|
variables can be used:
|
|
|
|
|
|
|
|
BIN=/some/path Define where the jhalfs script will be
|
|
|
|
installed
|
2005-11-01 13:07:25 +01:00
|
|
|
|
2005-11-01 12:35:17 +01:00
|
|
|
CONFIG=/some/path Define where the configuration file will be
|
|
|
|
installed
|
2005-11-01 13:07:25 +01:00
|
|
|
|
2005-11-01 12:35:17 +01:00
|
|
|
DATA=/some/path Define where the additional files will be
|
|
|
|
installed
|
|
|
|
|
2005-11-01 13:07:25 +01:00
|
|
|
For example, to install the program and files into root's home:
|
2005-11-01 12:35:17 +01:00
|
|
|
|
|
|
|
make BIN=/root/bin CONFIG=/root/jhalfs DATA=/root/jhalfs
|