From 4cc1cecd123e8206225b68bc8f960d5ad4ad8d20 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 25 Sep 2008 11:15:04 +0000 Subject: [PATCH] 0019984: add -f option to salome_adm/unix/Makefile.am --- salome_adm/unix/Makefile.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.39.2