make to compile IDoc. Type
install to install IDoc.
NB: The make system requires GNU's make utility to work.
The default installation location is
/usr/local (i.e., the
executable will be installed into
change the installation location, invoke make as follows
% make PREFIX=<location> install
<location> determines the installation
directory (ie, if
/home/chak, the executable will be copied to
IDoc has been coded in pure Haskell 98, so it should work with any standards conforming Haskell system. There are two make variables that affect the Haskell system that is used for compilation:
-- determines the Haskell compiler to be used
-- determines the command line options passed to the Haskell compiler
both variables can be set either in the
Makefile or by
% make HC=<compiler> HCFLAGS=<options>
with suitable values for
<compiler> and code
<options> (don't forget to put quotes around
<options> if the string contains white space or
characters that have a special meaning on the shell command line).
Hugs user can, instead of compiling the source code, simply execute it
runhugs. You need to make sure that both source
GetOpt.hs) are were Hugs
can load them.