From 619f810223d2899e5e1f9627860e3de0c1450479 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Tue, 6 Jan 2015 21:26:48 -0800 Subject: [PATCH] add -f flag to cp in install target --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 12c9215..b16155a 100644 --- a/Makefile +++ b/Makefile @@ -56,13 +56,13 @@ install: all openlibm.pc mkdir -p $(DESTDIR)$(shlibdir) mkdir -p $(DESTDIR)$(libdir)/pkgconfig mkdir -p $(DESTDIR)$(includedir)/openlibm - cp -a libopenlibm.$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ - cp -a libopenlibm.a $(DESTDIR)$(libdir)/ - cp -a src/openlibm.h $(DESTDIR)$(includedir)/ - cp -a openlibm.pc $(DESTDIR)$(libdir)/pkgconfig/ + cp -f -a libopenlibm.$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ + cp -f -a libopenlibm.a $(DESTDIR)$(libdir)/ + cp -f -a src/openlibm.h $(DESTDIR)$(includedir)/ + cp -f -a openlibm.pc $(DESTDIR)$(libdir)/pkgconfig/ ifneq ($(wildcard $(ARCH)/bsd_asm.h),) - cp -a $(ARCH)/bsd_asm.h $(DESTDIR)$(includedir)/openlibm/ + cp -f -a $(ARCH)/bsd_asm.h $(DESTDIR)$(includedir)/openlibm/ endif ifneq ($(wildcard $(ARCH)/bsd_cdefs.h),) - cp -a $(ARCH)/bsd_cdefs.h $(DESTDIR)$(includedir)/openlibm/ + cp -f -a $(ARCH)/bsd_cdefs.h $(DESTDIR)$(includedir)/openlibm/ endif