From: vsr Date: Thu, 25 Sep 2008 11:14:09 +0000 (+0000) Subject: 0019984: add -f option to salome_adm/unix/Makefile.am X-Git-Tag: RELIQUAT_4x_25102008~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c953c0d94012abd8e36da8bc7e84b82bb5a2d9f5;p=modules%2Fkernel.git 0019984: add -f option to salome_adm/unix/Makefile.am --- diff --git a/salome_adm/unix/Makefile.am b/salome_adm/unix/Makefile.am index 0597e7822..0f2178539 100644 --- a/salome_adm/unix/Makefile.am +++ b/salome_adm/unix/Makefile.am @@ -40,17 +40,17 @@ mostlyclean-local: -rm -rf SALOMEconfig.h SALOMEconfig.h.in SALOMEconfig.h.in : SALOMEconfig.ref.in - cp -p $< $@; + cp -pf $< $@; # test if SALOMEconfig.ref has changed (contents), at build time SALOMEconfig.h: $(top_builddir)/salome_adm/unix/SALOMEconfig.ref - @if ! [ -a $@ ]; then \ - echo cp -p $< $@; \ - cp -p $< $@; \ - fi; \ + @if ! [ -a $@ ]; then \ + echo cp -pf $< $@; \ + cp -pf $< $@; \ + fi; \ if ! cmp -s $< $@; then \ - echo cp -p $< $@; \ - cp -p $< $@; \ + echo cp -pf $< $@; \ + cp -pf $< $@; \ fi; # The deprecated files are deprecated for the KERNEL but not for the