From 65680f699c82465d8fb8a4cc29111c62c5afd2d0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 30 Jun 2003 18:22:43 +0000 Subject: Per suggestion from Stuart Hughes, allow uClibc to re-install headers on a system where they have previously been installed. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 \ -- cgit v1.2.3