diff options
author | Pedro Giffuni <pfg@apache.org> | 2012-01-31 15:35:07 +0000 |
---|---|---|
committer | Pedro Giffuni <pfg@apache.org> | 2012-01-31 15:35:07 +0000 |
commit | 95e24c24e0cddb06af8fd6db360caa3a5ce2539b (patch) | |
tree | 3a477f8384c9da781d882d74f9cf401fb65869f5 /odk/util | |
parent | 9582dbb63439037e2c50cf685e897b9aff5d4ded (diff) |
Reduce the dependencies on non standard GNU copy.
Excessive dependence on GNU cp for non-GNU platforms is inconvenient
as it involves installing the complete GNU coreutils package. This
can be avoided by using less non-portable extensions.
- "cp -R" tends to be more portable than "cp -r"
- Avoid using "cp -u".
At this time this changes are focused on FreeBSD based
on the work done already for MacOSX.
Diffstat (limited to 'odk/util')
-rw-r--r-- | odk/util/makefile.pmk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/util/makefile.pmk b/odk/util/makefile.pmk index aacb1ef5bfe0..4faab4d30a69 100644 --- a/odk/util/makefile.pmk +++ b/odk/util/makefile.pmk @@ -68,11 +68,11 @@ MY_AUTODOC=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/autodoc .IF "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" MY_COPY=$(GNUCOPY) -MY_COPY_RECURSIVE=$(GNUCOPY) -r +MY_COPY_RECURSIVE=$(GNUCOPY) -R .ELSE .IF "$(OS)"=="MACOSX" MY_COPY=$(GNUCOPY) -MY_COPY_RECURSIVE=$(GNUCOPY) -r +MY_COPY_RECURSIVE=$(GNUCOPY) -R .ELSE MY_COPY=$(GNUCOPY) -u MY_COPY_RECURSIVE=$(GNUCOPY) -urf |