Skip to content

Commit b44ec54

Browse files
committed
Merge pull request #73 from tkelman/cp-dashf
add -f flag to cp in install target
2 parents bfc0987 + ecfaad0 commit b44ec54

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ env:
99
matrix:
1010
exclude:
1111
- os: osx
12-
env: TARGET="arm32"
12+
env: TARGET=arm32
1313
notifications:
1414
email: false

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ install: all openlibm.pc
5656
mkdir -p $(DESTDIR)$(shlibdir)
5757
mkdir -p $(DESTDIR)$(libdir)/pkgconfig
5858
mkdir -p $(DESTDIR)$(includedir)/openlibm
59-
cp -a libopenlibm.$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
60-
cp -a libopenlibm.a $(DESTDIR)$(libdir)/
61-
cp -a src/openlibm.h $(DESTDIR)$(includedir)/
62-
cp -a openlibm.pc $(DESTDIR)$(libdir)/pkgconfig/
59+
cp -f -a libopenlibm.$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
60+
cp -f -a libopenlibm.a $(DESTDIR)$(libdir)/
61+
cp -f -a src/openlibm.h $(DESTDIR)$(includedir)/
62+
cp -f -a openlibm.pc $(DESTDIR)$(libdir)/pkgconfig/
6363
ifneq ($(wildcard $(ARCH)/bsd_asm.h),)
64-
cp -a $(ARCH)/bsd_asm.h $(DESTDIR)$(includedir)/openlibm/
64+
cp -f -a $(ARCH)/bsd_asm.h $(DESTDIR)$(includedir)/openlibm/
6565
endif
6666
ifneq ($(wildcard $(ARCH)/bsd_cdefs.h),)
67-
cp -a $(ARCH)/bsd_cdefs.h $(DESTDIR)$(includedir)/openlibm/
67+
cp -f -a $(ARCH)/bsd_cdefs.h $(DESTDIR)$(includedir)/openlibm/
6868
endif

0 commit comments

Comments
 (0)