Merge pull request #73 from tkelman/cp-dashf

add -f flag to cp in install target
This commit is contained in:
Viral B. Shah 2015-01-07 22:30:03 +05:30
commit b44ec547f1
2 changed files with 7 additions and 7 deletions

View file

@ -9,6 +9,6 @@ env:
matrix:
exclude:
- os: osx
env: TARGET="arm32"
env: TARGET=arm32
notifications:
email: false

View file

@ -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