Expand installation instructions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
diff --git a/INSTALL b/INSTALL
index 686b03d..3cf0530 100644
--- a/INSTALL
+++ b/INSTALL
@@ -4,9 +4,22 @@ This project will build a static library (archive) in the src directory.
The Makefiles need GNU Make in order to work properly.
+The easiest way to start is to try autogen.
+
+ $ ./autogen.sh
+
+If this completes successfully, it means that the system was able to
+deduce the location of all prerequisites. Next, configure the makefiles
+
+ $ ./configure
+
+This will configure the default build configuration with a target install
+directory of /usr/local. This is adequate for most users.
+
FTGL requires the Freetype2 library (version 2.0.9 or later) and OpenGL
-(glu version 1.2 or later). You can pass flags to the configure script
-to point it to the place where these libraries are installed, like this:
+(glu version 1.2 or later). If these libraries cannot be found by autogen,
+you can pass flags to the configure script to point it to the place where
+these libraries are installed, like this:
$ ./configure --with-gl-inc=/usr/local/include \
--with-gl-lib=/usr/local/lib
@@ -22,6 +35,14 @@ an email to mmagallo@debian.org (please include FTGL somewhere in the
subject line) and include a copy of the config.log file that was left
behind.
+Once the build is configured, simple run make
+
+ $ make
+
+To install the library, you will probably require superuser permission:
+
+ $ sudo make install
+
If doxygen is installed, documentation in HTML format will be generated
in the docs subdirectory.