diff options
-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. # |