]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
0019984: add -f option to salome_adm/unix/Makefile.am
authorvsr <vsr@opencascade.com>
Thu, 25 Sep 2008 11:14:09 +0000 (11:14 +0000)
committervsr <vsr@opencascade.com>
Thu, 25 Sep 2008 11:14:09 +0000 (11:14 +0000)
salome_adm/unix/Makefile.am

index 0597e7822d2fd476ba377135f1bf3eadd783c9f7..0f21785399e4fa3cf5409a0978719bac4c159e0c 100644 (file)
@@ -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