diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-12 09:47:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-12 09:47:42 +0200 |
commit | 96faa70ffa3181ee6ed739b7f0daca87b225f358 (patch) | |
tree | 12d5e7c8bfbad615d0dc020f822d6e470318d364 | |
parent | 1005d593da6d3772e4d252907f749baf2364d2ca (diff) |
Implement the install target
-rw-r--r-- | README | 25 | ||||
-rw-r--r-- | makefile | 2 |
2 files changed, 25 insertions, 2 deletions
@@ -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: @@ -19,7 +19,7 @@ test: $(out_base)/libcutl/.test $(out_base)/cli/.test # Install. # -install: +install: $(out_base)/cli/.install # Clean. # |