aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-12 09:47:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-12 09:47:42 +0200
commit96faa70ffa3181ee6ed739b7f0daca87b225f358 (patch)
tree12d5e7c8bfbad615d0dc020f822d6e470318d364 /README
parent1005d593da6d3772e4d252907f749baf2364d2ca (diff)
Implement the install target
Diffstat (limited to 'README')
-rw-r--r--README25
1 files changed, 24 insertions, 1 deletions
diff --git a/README b/README
index 3d6367b..3a38934 100644
--- a/README
+++ b/README
@@ -38,10 +38,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 CLI compiler, examples, 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 the CLI compiler, you
can do the following: