Changeset 05ff78a in rtems


Ignore:
Timestamp:
05/26/00 17:49:52 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
9d05d68f
Parents:
09c16269
Message:

Added INSTALL_CHANGE and INSTALL_VARIANT information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/README

    r09c16269 r05ff78a  
    429429                as make variables:
    430430
    431                     MAKE,INSTALL,SHELL
     431                    MAKE,INSTALL,INSTALL_VARIANT,SHELL
    432432
    433433                    ECHO,CAT,CP,MV,LN,MKDIR,CHMOD
     
    437437                    CC,CPP,AS,AR,LD,NM,SIZE,RANLIB,MKLIB,
    438438                    YACC,LEX,LINT,CTAGS,ETAGS
     439
     440                 In addition, the following commands specifically support
     441                 the installation of libraries, executables, header files,
     442                 and other things that need to be installed:
     443
     444                    INSTALL_CHANGE  - install a file only if the source
     445                                      file is actually different than
     446                                      the installed copy or if there is
     447                                      no installed copy.  USAGE:
     448
     449      usage: install-if-change [ -vmV ] file [ file ... ] dest-directory-or-file
     450        -v          -- verbose
     451        -V suffix   -- suffix to append to targets (before any . suffix)
     452                        eg: -V _g would change 'foo' to 'foo_g' and
     453                                               'libfoo.a' to 'libfoo_g.a'
     454        -m mode     -- mode for new file(s)
     455
     456                    INSTALL_VARIANT - installs the built file using the
     457                                      proper variant suffix (e.g. _g
     458                                      for debug turns libmine.a into libmine_g.a)
     459                                      This is implemented as a macro that
     460                                      invokes install-if-change with the
     461                                      appropriate -V argument setting.
    439462
    440463            Special Directory Makefile Targets
     
    469492
    470493
    471 
     494   
     495
Note: See TracChangeset for help on using the changeset viewer.