summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-12-20 11:33:14 +0000
committerEric Andersen <andersen@codepoet.org>2001-12-20 11:33:14 +0000
commit553d7485bfa7c9f4f27b0034fc1831cd4c704be0 (patch)
treeeb13050b11c216bf59b63a62f7987c8a3d5e9439 /Makefile
parent859354615bd6505a2768f5f0020b5cba123bf166 (diff)
downloaduClibc-alpine-553d7485bfa7c9f4f27b0034fc1831cd4c704be0.tar.bz2
uClibc-alpine-553d7485bfa7c9f4f27b0034fc1831cd4c704be0.tar.xz
Use tar instead of cp -LR for make install, since older GNU cp
(i.e. RedHat 6.2) don't support -LR -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 21536f88a..cac515ad0 100644
--- a/Makefile
+++ b/Makefile
@@ -176,9 +176,10 @@ install_dev:
install -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)/lib/
install -d $(PREFIX)$(DEVEL_PREFIX)/usr/lib
install -d $(PREFIX)$(DEVEL_PREFIX)/include
- cp -LR include/ $(PREFIX)$(DEVEL_PREFIX)/
+ tar -chO include | tar -xC $(PREFIX)$(DEVEL_PREFIX);
chmod 755 `find $(PREFIX)$(DEVEL_PREFIX) -type d`
chmod 644 `find $(PREFIX)$(DEVEL_PREFIX)/include -name '*.h'`
+ (NAME=`whoami`; chown -R $$NAME.$$NAME $(PREFIX)$(DEVEL_PREFIX))
ifeq ($(strip $(HAVE_SHARED)),true)
find lib/ -type l -name '*.so' -exec cp -a {} $(PREFIX)$(DEVEL_PREFIX)/lib ';'
endif