automake: Renaming

1 
1 2.2.9 Renaming Programs at Install Time
1 ---------------------------------------
1 
1 The GNU Build System provides means to automatically rename executables
1 and manpages before they are installed (⇒Man Pages).  This is
1 especially convenient when installing a GNU package on a system that
1 already has a proprietary implementation you do not want to overwrite.
1 For instance, you may want to install GNU ‘tar’ as ‘gtar’ so you can
1 distinguish it from your vendor’s ‘tar’.
1 
1    This can be done using one of these three ‘configure’ options.
1 
1 ‘--program-prefix=PREFIX’
1      Prepend PREFIX to installed program names.
1 ‘--program-suffix=SUFFIX’
1      Append SUFFIX to installed program names.
1 ‘--program-transform-name=PROGRAM’
1      Run ‘sed PROGRAM’ on installed program names.
1 
1    The following commands would install ‘hello’ as
1 ‘/usr/local/bin/test-hello’, for instance.
1 
1      ~/amhello-1.0 % ./configure --program-prefix test-
1      ...
1      ~/amhello-1.0 % make
1      ...
1      ~/amhello-1.0 % sudo make install
1      ...
1