diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-12 09:46:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-12 09:46:52 +0200 |
commit | 911d44c712941ad473c78621595be1285506dc78 (patch) | |
tree | 3ee79b094375debc96bc64c2ab9dc73d196797ee | |
parent | c6ae0ff1182f96b6d7bb17563e68f10baf45fa1a (diff) |
Implement the install target
-rw-r--r-- | README | 28 | ||||
-rw-r--r-- | makefile | 2 |
2 files changed, 27 insertions, 3 deletions
@@ -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. @@ -19,7 +19,7 @@ test: $(out_base)/libcutl/.test # Install. # -install: +install: $(out_base)/libcutl/.install # Clean. # |