Fixing up the symlink stuff in the Makefile:  * Don't use the unportable enhanced Makefile syntax, do everything in Perl    where its possible.  * The check wether symlink() is available is now done already in the    Makefile.PM, setting a macro SYMLINK.  * Added an I_SCRIPTDIR as a reference to the macro which points to where the    scripts are installed.  INSTALLSCRIPT is a weird one as its the same for    all repositories (see the EU::MM manpage for a list of the vars for each    repo).  * We need to remove any possibly existing symlink or old script file with    $(RM_R) first because symlink() does not override.  Also made the perl    call die() if symlink() fails for some other reason (like Permission    Denied).  * Added some comments to older code.
Fixing up the symlink stuff in the Makefile:
 * Don't use the unportable enhanced Makefile syntax, do everything in Perl
   where its possible.
 * The check wether symlink() is available is now done already in the
   Makefile.PM, setting a macro SYMLINK.
 * Added an I_SCRIPTDIR as a reference to the macro which points to where the
   scripts are installed.  INSTALLSCRIPT is a weird one as its the same for
   all repositories (see the EU::MM manpage for a list of the vars for each
   repo).
 * We need to remove any possibly existing symlink or old script file with
   $(RM_R) first because symlink() does not override.  Also made the perl
   call die() if symlink() fails for some other reason (like Permission
   Denied).
 * Added some comments to older code.

To test it, try
  PERL_MM_USE_DEFAULT=1 make bin__install INSTALLSCRIPT=/tmp
Try it also with a INSTALLSCRIPT in which you may not write.
Make the check in Makefile.PL line 870 fail to test the $(CP) alternative.


git-svn-id: e9fe9b84e32fc5e57b7d09c40cd78b14ea28ed71@154088 13f79535-47bb-0310-9956-ffa450edef68

apache/spamassassin,apache/spamassassin,apache/spamassassin,apache/spamassassin,apache/spamassassin