diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-26 17:49:52 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-05-26 17:49:52 +0000 |
commit | 05ff78ab00523e1acc391096721ecf5acd850d34 (patch) | |
tree | 2561376c02720c622f7bdf86f3fd414d06f24115 /make/README | |
parent | Significant updates. (diff) | |
download | rtems-05ff78ab00523e1acc391096721ecf5acd850d34.tar.bz2 |
Added INSTALL_CHANGE and INSTALL_VARIANT information.
Diffstat (limited to 'make/README')
-rw-r--r-- | make/README | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/make/README b/make/README index fbbaa1f9d3..8a3d599aef 100644 --- a/make/README +++ b/make/README @@ -428,7 +428,7 @@ The following commands should only be called as make variables: - MAKE,INSTALL,SHELL + MAKE,INSTALL,INSTALL_VARIANT,SHELL ECHO,CAT,CP,MV,LN,MKDIR,CHMOD @@ -437,6 +437,29 @@ CC,CPP,AS,AR,LD,NM,SIZE,RANLIB,MKLIB, YACC,LEX,LINT,CTAGS,ETAGS + In addition, the following commands specifically support + the installation of libraries, executables, header files, + and other things that need to be installed: + + INSTALL_CHANGE - install a file only if the source + file is actually different than + the installed copy or if there is + no installed copy. USAGE: + + usage: install-if-change [ -vmV ] file [ file ... ] dest-directory-or-file + -v -- verbose + -V suffix -- suffix to append to targets (before any . suffix) + eg: -V _g would change 'foo' to 'foo_g' and + 'libfoo.a' to 'libfoo_g.a' + -m mode -- mode for new file(s) + + INSTALL_VARIANT - installs the built file using the + proper variant suffix (e.g. _g + for debug turns libmine.a into libmine_g.a) + This is implemented as a macro that + invokes install-if-change with the + appropriate -V argument setting. + Special Directory Makefile Targets ---------------------------------- @@ -468,4 +491,5 @@ Template "directory" makefile. + |