X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Finstalling.xml;h=dc0251ad19b4094c45d7c3fcde09108ab5ecf97a;hb=c6c423e0499131c6f40752373f5f4156ec59aaa7;hp=8615002a71b6f406552d2badac5537e05f19ec66;hpb=b8f54baebdd8954af835b6c8eaee5ebf3e0b5b52;p=ghc-hetmet.git diff --git a/docs/users_guide/installing.xml b/docs/users_guide/installing.xml index 8615002..dc0251a 100644 --- a/docs/users_guide/installing.xml +++ b/docs/users_guide/installing.xml @@ -80,21 +80,18 @@ next? Well, you will at least need to run the configureconfigure script by changing directory into the top-level directory for the bundle and typing ./configure. That should convert -Makefile.in to Makefile. +Makefile-vars.in to Makefile-vars. -installing in-place -in-place installation -You can now either start using the tools in-situ without going -through any installation process, just type make in-place to set the -tools up for this. You'll also want to add the path which make will -now echo to your PATH environment variable. This option is useful if -you simply want to try out the package and/or you don't have the -necessary privileges (or inclination) to properly install the tools -locally. Note that if you do decide to install the package `properly' -at a later date, you have to go through the installation steps that -follow. +The configure script takes a number of flags. The most +commonly used is the +--prefix=/path/to/install/in +flag, which tells the bundle that you want it to be installed in +/path/to/install/in rather than the default +location (/usr/local). +To see all the flags that configure accepts, run +configure --help. @@ -107,87 +104,6 @@ To install a package, you'll have to do the following: - Edit the Makefile and check the settings of the following variables: - -directories, installation -installation directories - - - - -platform - - -the platform you are going to install for. - - - -bindir - - -the directory in which to install user-invokable -binaries. - - - -libdir - - -the directory in which to install -platform-dependent support files. - - - -datadir - - -the directory in which to install -platform-independent support files. - - - -infodir - - -the directory in which to install Emacs info -files. - - - -htmldir - - -the directory in which to install HTML -documentation. - - - -dvidir - - -the directory in which to install DVI -documentation. - - - - -The values for these variables can be set through invocation of the -configureconfigure -script that comes with the distribution, but doing an optical diff to -see if the values match your expectations is always a Good Idea. - - - -Instead of running configure, it is -perfectly OK to copy Makefile.in to -Makefile and set all these variables directly -yourself. But do it right! - - - - - - Run make install. This should work with ordinary Unix make—no need for fancy stuff like GNU