From 95e24c24e0cddb06af8fd6db360caa3a5ce2539b Mon Sep 17 00:00:00 2001 From: Pedro Giffuni Date: Tue, 31 Jan 2012 15:35:07 +0000 Subject: 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. --- odk/util/makefile.pmk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odk/util') 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 -- cgit