42180c build system: DESTDIR: avoid accidental posix-special leading two slashes.

Authored and Committed by midipix 9 years ago
    build system: DESTDIR: avoid accidental posix-special leading two slashes.
    
        
file modified
+8 -8
Makefile.in CHANGED
@@ -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)/./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
103
- cp $(API_HEADERS) $(DESTDIR)/./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
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)/./$(PREFIX)/./$(LIBDIR)
107
- cp $(SHARED_LIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
106
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
107
+ cp $(SHARED_LIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
108
108
109
109
install-static: static
110
- mkdir -p $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
111
- cp $(STATIC_LIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
110
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
111
+ cp $(STATIC_LIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
112
112
113
113
install-app: app
114
- mkdir -p $(DESTDIR)/./$(PREFIX)/./$(BINDIR)
115
- cp $(APP) $(DESTDIR)/./$(PREFIX)/./$(BINDIR)
114
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(BINDIR)
115
+ cp $(APP) $(DESTDIR)///./$(PREFIX)/./$(BINDIR)
116
116
117
117
118
118
file modified
+2 -2
sysinfo/os/midipix.mk CHANGED
@@ -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)/./$(PREFIX)/./$(LIBDIR)
14
- cp $(SHARED_IMPLIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
13
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
14
+ cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
file modified
+2 -2
sysinfo/os/mingw.mk CHANGED
@@ -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)/./$(PREFIX)/./$(LIBDIR)
15
- cp $(SHARED_IMPLIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
14
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
15
+ cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)