42180c
build system: DESTDIR: avoid accidental posix-special leading two slashes.
@@ -99,20 +99,20 @@ app: default-app
|
|
99
99
|
install-libs: install-shared install-static install-implib
|
100
100
|
|
101
101
|
install-headers:shared static
|
102
|
-
mkdir -p $(DESTDIR
|
103
|
-
cp $(API_HEADERS) $(DESTDIR
|
102
|
+
mkdir -p $(DESTDIR)///./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
|
103
|
+
cp $(API_HEADERS) $(DESTDIR)///./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
|
104
104
|
|
105
105
|
install-shared: shared install-implib
|
106
|
-
mkdir -p $(DESTDIR
|
107
|
-
cp $(SHARED_LIB) $(DESTDIR
|
106
|
+
mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|
107
|
+
cp $(SHARED_LIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|
108
108
|
|
109
109
|
install-static: static
|
110
|
-
mkdir -p $(DESTDIR
|
111
|
-
cp $(STATIC_LIB) $(DESTDIR
|
110
|
+
mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|
111
|
+
cp $(STATIC_LIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|
112
112
|
|
113
113
|
install-app: app
|
114
|
-
mkdir -p $(DESTDIR
|
115
|
-
cp $(APP) $(DESTDIR
|
114
|
+
mkdir -p $(DESTDIR)///./$(PREFIX)/./$(BINDIR)
|
115
|
+
cp $(APP) $(DESTDIR)///./$(PREFIX)/./$(BINDIR)
|
116
116
|
|
117
117
|
|
118
118
|
|
@@ -10,5 +10,5 @@ OS_ARCHIVE_EXT = .a
|
|
10
10
|
LDFLAGS_CONFIG += -mout-implib
|
11
11
|
|
12
12
|
install-implib: shared-implib
|
13
|
-
mkdir -p $(DESTDIR
|
14
|
-
cp $(SHARED_IMPLIB) $(DESTDIR
|
13
|
+
mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|
14
|
+
cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|
@@ -11,5 +11,5 @@ CFLAGS_PIC =
|
|
11
11
|
LDFLAGS_CONFIG += -Wl,--out-implib,$(SHARED_IMPLIB)
|
12
12
|
|
13
13
|
install-implib: shared-implib
|
14
|
-
mkdir -p $(DESTDIR
|
15
|
-
cp $(SHARED_IMPLIB) $(DESTDIR
|
14
|
+
mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|
15
|
+
cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
|