From c6c423e0499131c6f40752373f5f4156ec59aaa7 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 12 Jul 2007 02:17:59 +0000 Subject: [PATCH] In the users guide, talk about configure flags (rather than talking about tweaking the Makefile(-vars) by hand) --- docs/users_guide/installing.xml | 90 +++++---------------------------------- 1 file changed, 10 insertions(+), 80 deletions(-) diff --git a/docs/users_guide/installing.xml b/docs/users_guide/installing.xml index 09ce12d..dc0251a 100644 --- a/docs/users_guide/installing.xml +++ b/docs/users_guide/installing.xml @@ -84,93 +84,23 @@ bundle and typing ./configure. That should convert -To install a package, you'll have to do the following: +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. - - - - - - 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. +To install a package, you'll have to do the following: -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! - - + -- 1.7.10.4