buildsystem, crossplatform.mk, tarball: change the flags when calling cp for the...
authorRejean Loyer <redj@ecere.com>
Sat, 16 Jul 2016 13:55:41 +0000 (09:55 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:35 +0000 (18:23 -0400)
crossplatform.mk

index 442f64d..80f7bd3 100644 (file)
@@ -305,8 +305,8 @@ else
    nullerror = 2>/dev/null
    echo = $(if $(1),echo "$(1)")
    touch = $(if $(1),touch $(1))
-   cp = $(if $(1),cp$(if $(SILENT_IS_ON),, -v) $(1) $(2))
-   cpr = $(if $(1),cp -prf$(if $(SILENT_IS_ON),,v) $(1) $(2))
+   cp = $(if $(1),cp -df$(if $(SILENT_IS_ON),,v) $(1) $(2))
+   cpr = $(if $(1),cp -dfr$(if $(SILENT_IS_ON),,v) $(1) $(2))
    rm = $(if $(1),-rm -f$(if $(SILENT_IS_ON),,v) $(1))
    rmr = $(if $(1),-rm -fr$(if $(SILENT_IS_ON),,v) $(1))
    mkdir = $(if $(1),-mkdir -p$(if $(SILENT_IS_ON),,v) $(1))