[Olsr-dev] make INSTALL="cp -i"

Hans-Christoph Steiner (spam-protected)
Tue Jul 3 16:40:47 CEST 2012


I highly recommend replacing all calls to 'cp' with 'install'.  'install' is the standard tool for Makefiles, handles overwriting and permissions, etc.  Or even better, replace 'cp' and 'install' with $(INSTALL) set to 'install' by default.  Then people can easily choose however they want to do it:

make INSTALL="cp -i"

.hc

On Jul 3, 2012, at 6:38 AM, <(spam-protected)> <(spam-protected)> wrote:

> This is an automated email from the git hooks/post-receive script. It was
> generated because a ref change was pushed to the repository containing
> the project "OLSR.org main repository".
> 
>        See http://olsr.org/git/?p=olsrd.git;a=commitdiff;h=OLSRD_0_6_3-137-g000c9b8
>        for a web version of the last commit.
> 
> The branch, stable has been updated
>       via  000c9b85141e474ef4440ac62a1f8b0c71eeb8ef (commit)
>       via  999235265ad8d7cdf9ab3cebd47b51667d667b23 (commit)
>      from  c9c271905d8befc27b990eef5a9be3bfd82a998a (commit)
> 
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email; so we list those
> revisions in full, below.
> 
> - Log -----------------------------------------------------------------
> commit 000c9b85141e474ef4440ac62a1f8b0c71eeb8ef
> Author: Ferry Huberts <(spam-protected)>
> Date:   Tue Jul 3 12:36:00 2012 +0200
> 
>    Makefile: rework OpenWRT 900-force_copy_olsrd_conf_file.patch
> 
>    Instead of always overwriting the olsrd.conf on install,
>    the user must specify 'make INSTALLOVERWRITE=Y install'
> 
>    Signed-off-by: Ferry Huberts <(spam-protected)>
> 
> commit 999235265ad8d7cdf9ab3cebd47b51667d667b23
> Author: Ferry Huberts <(spam-protected)>
> Date:   Tue Jul 3 12:29:23 2012 +0200
> 
>    Revert "force copy the olsrd.conf file during install"
> 
>    This reverts commit e2855a99ed1429b22b03be7a2d6c3b93d24b62fd.
> 
> -----------------------------------------------------------------------
> 
> Summary of changes:
> Makefile |    6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
> 
> 
> hooks/post-receive
> -- 
> OLSR.org main repository
> 
> _______________________________________________
> Olsr-commit mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-commit





More information about the Olsr-dev mailing list