mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 04:23:41 +01:00
Use cp -RpP instead of cp -a
OpenBSD does not support cp -a, and cp -RpP should work on all platforms.
This commit is contained in:
parent
bf188aeb23
commit
48c6c2c2ac
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -83,19 +83,19 @@ openlibm.pc: openlibm.pc.in Make.inc Makefile
|
|||
|
||||
install-static: libopenlibm.a
|
||||
mkdir -p $(DESTDIR)$(libdir)
|
||||
cp -f -a libopenlibm.a $(DESTDIR)$(libdir)/
|
||||
cp -RpP -f libopenlibm.a $(DESTDIR)$(libdir)/
|
||||
|
||||
install-shared: libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT)
|
||||
mkdir -p $(DESTDIR)$(shlibdir)
|
||||
cp -f -a libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
|
||||
cp -RpP -f libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
|
||||
|
||||
install-pkgconfig: openlibm.pc
|
||||
mkdir -p $(DESTDIR)$(pkgconfigdir)
|
||||
cp -f -a openlibm.pc $(DESTDIR)$(pkgconfigdir)/
|
||||
cp -RpP -f openlibm.pc $(DESTDIR)$(pkgconfigdir)/
|
||||
|
||||
install-headers:
|
||||
mkdir -p $(DESTDIR)$(includedir)/openlibm
|
||||
cp -f -a include/*.h $(DESTDIR)$(includedir)/openlibm
|
||||
cp -f -a src/*.h $(DESTDIR)$(includedir)/openlibm
|
||||
cp -RpP -f include/*.h $(DESTDIR)$(includedir)/openlibm
|
||||
cp -RpP -f src/*.h $(DESTDIR)$(includedir)/openlibm
|
||||
|
||||
install: install-static install-shared install-pkgconfig install-headers
|
||||
|
|
Loading…
Reference in a new issue