Lines 1-16
Link Here
|
1 |
--- Makefile.orig 2016-05-23 11:53:14 UTC |
1 |
--- Makefile.orig 2016-08-06 15:00:31 UTC |
2 |
+++ Makefile |
2 |
+++ Makefile |
3 |
@@ -78,8 +78,8 @@ install: all openlibm.pc |
3 |
@@ -77,19 +77,19 @@ openlibm.pc: openlibm.pc.in Make.inc Mak |
|
|
4 |
|
5 |
install-static: libopenlibm.a |
6 |
mkdir -p $(DESTDIR)$(libdir) |
7 |
- cp -f -a libopenlibm.a $(DESTDIR)$(libdir)/ |
8 |
+ $(BSD_INSTALL_DATA) libopenlibm.a $(DESTDIR)$(libdir)/ |
9 |
|
10 |
install-shared: libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT) |
4 |
mkdir -p $(DESTDIR)$(shlibdir) |
11 |
mkdir -p $(DESTDIR)$(shlibdir) |
|
|
12 |
- cp -f -a libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ |
13 |
+ $(BSD_INSTALL_LIB) libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ |
14 |
|
15 |
install-pkgconfig: openlibm.pc |
5 |
mkdir -p $(DESTDIR)$(pkgconfigdir) |
16 |
mkdir -p $(DESTDIR)$(pkgconfigdir) |
|
|
17 |
- cp -f -a openlibm.pc $(DESTDIR)$(pkgconfigdir)/ |
18 |
+ $(BSD_INSTALL_DATA) openlibm.pc $(DESTDIR)$(pkgconfigdir)/ |
19 |
|
20 |
install-headers: |
6 |
mkdir -p $(DESTDIR)$(includedir)/openlibm |
21 |
mkdir -p $(DESTDIR)$(includedir)/openlibm |
7 |
- cp -f -a libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ |
|
|
8 |
- cp -f -a libopenlibm.a $(DESTDIR)$(libdir)/ |
9 |
- cp -f -a include/*.h $(DESTDIR)$(includedir)/openlibm |
22 |
- cp -f -a include/*.h $(DESTDIR)$(includedir)/openlibm |
10 |
- cp -f -a src/*.h $(DESTDIR)$(includedir)/openlibm |
23 |
- cp -f -a src/*.h $(DESTDIR)$(includedir)/openlibm |
11 |
- cp -f -a openlibm.pc $(DESTDIR)$(pkgconfigdir)/ |
24 |
+ $(BSD_INSTALL_DATA) include/*.h $(DESTDIR)$(includedir)/openlibm |
12 |
+ ${BSD_INSTALL_LIB} libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ |
25 |
+ $(BSD_INSTALL_DATA) src/*.h $(DESTDIR)$(includedir)/openlibm |
13 |
+ ${BSD_INSTALL_DATA} libopenlibm.a $(DESTDIR)$(libdir)/ |
26 |
|
14 |
+ ${BSD_INSTALL_DATA} include/*.h $(DESTDIR)$(includedir)/openlibm |
27 |
install: install-static install-shared install-pkgconfig install-headers |
15 |
+ ${BSD_INSTALL_DATA} src/*.h $(DESTDIR)$(includedir)/openlibm |
|
|
16 |
+ ${BSD_INSTALL_DATA} openlibm.pc $(DESTDIR)$(pkgconfigdir)/ |