summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-01 20:28:21 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-01 20:28:21 +0000
commit5db304abacd754e47aaca008bf78e27b03be4a78 (patch)
tree31261c40a76ff248a8c635c4e3b1f1ac7a30cd77 /Makefile
parent1b15669903e061e052f5f0d06310a1de5b8b0e3f (diff)
Amir Shalem writes:
here are few patches for better compatability in ./Makefile: cp.diff - use portable (POSIX) way to specfic --no-dereference (-d)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9f8ff902a..9fac2d363 100644
--- a/Makefile
+++ b/Makefile
@@ -231,7 +231,7 @@ ifeq ($(strip $(HAVE_SHARED)),y)
$(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib
$(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
$(PREFIX)$(RUNTIME_PREFIX)lib
- cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
+ cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
@if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
set -x -e; \
$(INSTALL) -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
@@ -346,7 +346,7 @@ distclean: clean
release: distclean
cd ..; \
$(RM) -r uClibc-$(VERSION); \
- cp -dRf uClibc uClibc-$(VERSION); \
+ cp -PRf uClibc uClibc-$(VERSION); \
find uClibc-$(VERSION)/ -type f \
-name .\#* -exec $(RM) -r {} \; ; \
find uClibc-$(VERSION)/ -type d \