aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README28
-rw-r--r--makefile2
2 files changed, 27 insertions, 3 deletions
diff --git a/README b/README
index b3256c9..fbdb4de 100644
--- a/README
+++ b/README
@@ -30,10 +30,33 @@ dependencies, run:
$ make test
-The clean the object files, libraries, executable, etc., run:
+To clean the object files, libraries, executable, etc., run:
$ make clean
+To install the libcutl library, header files, and documentation use the
+install target, for example:
+
+$ make install_prefix=/usr install
+
+You can fine-tune the installation locations with the following make
+variables:
+
+install_prefix default is /usr/local
+install_data_prefix default is install_prefix
+install_exec_prefix default is install_prefix
+
+install_bin_dir default is install_exec_prefix/bin
+install_sbin_dir default is install_exec_prefix/sbin
+install_lib_dir default is install_exec_prefix/lib
+
+install_data_dir default is install_data_prefix/share
+install_inc_dir default is install_data_prefix/include
+
+install_doc_dir default is install_data_dir/doc
+install_man_dir default is install_data_dir/man
+install_info_dir default is install_data_dir/info
+
You can also run make from various sub-directories in this package. For
example, to build and run automated tests only for libcutl, you can do
the following:
@@ -41,4 +64,5 @@ the following:
$ cd libcutl/tests
$ make test
-Send bug reports or any other feedback to boris@codesynthesis.com.
+Send questions, bug reports, or any other feedback to
+boris@codesynthesis.com.
diff --git a/makefile b/makefile
index 3ff2fb3..3c890b1 100644
--- a/makefile
+++ b/makefile
@@ -19,7 +19,7 @@ test: $(out_base)/libcutl/.test
# Install.
#
-install:
+install: $(out_base)/libcutl/.install
# Clean.
#