summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-06-30 18:22:43 +0000
committerEric Andersen <andersen@codepoet.org>2003-06-30 18:22:43 +0000
commit65680f699c82465d8fb8a4cc29111c62c5afd2d0 (patch)
tree305ec2101db0fc1ce15bc816d5c5ba1a4fc62c9c /Makefile
parent78eaff8c727f20f11f90d48df5bd44c38c8c6a6c (diff)
Per suggestion from Stuart Hughes, allow uClibc to re-install
headers on a system where they have previously been installed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e90db678e..cd488b0b2 100644
--- a/Makefile
+++ b/Makefile
@@ -210,7 +210,7 @@ install_dev:
-chown -R `id | sed 's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$$/\1.\2/'` $(PREFIX)$(DEVEL_PREFIX)
ifeq ($(strip $(HAVE_SHARED)),y)
-install -m 644 lib/*.so $(PREFIX)$(DEVEL_PREFIX)/lib/
- -find lib/ -type l -name '*.so' -exec cp -a {} $(PREFIX)$(DEVEL_PREFIX)/lib ';'
+ -find lib/ -type l -name '*.so' -exec cp -fa {} $(PREFIX)$(DEVEL_PREFIX)/lib ';'
# If we build shared libraries then the static libs are PIC...
# Make _pic.a symlinks to make mklibs.py and similar tools happy.
for i in `find lib/ -type f -name '*.a' | sed -e 's/lib\///'` ; do \
@@ -228,7 +228,7 @@ ifeq ($(strip $(HAVE_SHARED)),y)
install -d $(PREFIX)$(DEVEL_PREFIX)/bin
install -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
$(PREFIX)$(DEVEL_PREFIX)/lib
- cp -a lib/*.so.* $(PREFIX)$(DEVEL_PREFIX)/lib
+ cp -fa lib/*.so.* $(PREFIX)$(DEVEL_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 \
@@ -288,7 +288,7 @@ ifeq ($(strip $(HAVE_SHARED)),y)
install -d $(PREFIX)$(TARGET_PREFIX)/usr/bin
install -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
$(PREFIX)$(TARGET_PREFIX)/lib
- cp -af lib/*.so.* $(PREFIX)$(TARGET_PREFIX)/lib
+ cp -fa lib/*.so.* $(PREFIX)$(TARGET_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 \
@@ -418,7 +418,7 @@ distclean: clean
release: distclean
cd ..; \
rm -rf uClibc-$(VERSION); \
- cp -a uClibc uClibc-$(VERSION); \
+ cp -fa uClibc uClibc-$(VERSION); \
find uClibc-$(VERSION)/ -type f \
-name .\#* -exec rm -rf {} \; ; \
find uClibc-$(VERSION)/ -type d \