[uClibc-cvs] uClibc Makefile,1.205,1.206

Erik Andersen andersen at uclibc.org
Mon Jun 30 18:22:47 UTC 2003


Update of /var/cvs/uClibc
In directory winder:/tmp/cvs-serv18524

Modified Files:
	Makefile 
Log Message:
Per suggestion from Stuart Hughes, allow uClibc to re-install 
headers on a system where they have previously been installed.


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/Makefile,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -d -r1.205 -r1.206
--- Makefile	30 May 2003 04:47:42 -0000	1.205
+++ Makefile	30 Jun 2003 18:22:43 -0000	1.206
@@ -210,7 +210,7 @@
 	-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 @@
 	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 @@
 	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 @@
 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		\




More information about the uClibc-cvs mailing list