summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-27 20:47:09 -0500
committermidipix <writeonce@midipix.org>2015-12-27 20:47:09 -0500
commitbb4eb7e40b29edf0482691a991aeffa20978220d (patch)
tree21f76552df1d81b0b868740f8a76d0a1bf845add
parent15f8fb12e76a2057663a51cafe116dba3f3cd8f5 (diff)
downloaddalist-bb4eb7e40b29edf0482691a991aeffa20978220d.tar.bz2
dalist-bb4eb7e40b29edf0482691a991aeffa20978220d.tar.xz
build system: DESTDIR: avoid accidental posix-special leading two slashes.
-rw-r--r--Makefile.in12
-rw-r--r--sysinfo/os/midipix.mk4
-rw-r--r--sysinfo/os/mingw.mk4
3 files changed, 10 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index 91425e9..274304c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -95,16 +95,16 @@ install: install-libs install-headers
install-libs: install-shared install-static install-implib
install-headers:shared static
- mkdir -p $(DESTDIR)/./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
- cp $(API_HEADERS) $(DESTDIR)/./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
+ cp $(API_HEADERS) $(DESTDIR)///./$(PREFIX)/./$(INCLUDEDIR)/$(PACKAGE)
install-shared: shared install-implib
- mkdir -p $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
- cp $(SHARED_LIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
+ cp $(SHARED_LIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
install-static: static
- mkdir -p $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
- cp $(STATIC_LIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
+ cp $(STATIC_LIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
diff --git a/sysinfo/os/midipix.mk b/sysinfo/os/midipix.mk
index fded25e..4a92e62 100644
--- a/sysinfo/os/midipix.mk
+++ b/sysinfo/os/midipix.mk
@@ -10,5 +10,5 @@ OS_ARCHIVE_EXT = .a
LDFLAGS_CONFIG += -mout-implib
install-implib: shared-implib
- mkdir -p $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
- cp $(SHARED_IMPLIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
+ cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
diff --git a/sysinfo/os/mingw.mk b/sysinfo/os/mingw.mk
index 75aba53..b71736b 100644
--- a/sysinfo/os/mingw.mk
+++ b/sysinfo/os/mingw.mk
@@ -11,5 +11,5 @@ CFLAGS_PIC =
LDFLAGS_CONFIG += -Wl,--out-implib,$(SHARED_IMPLIB)
install-implib: shared-implib
- mkdir -p $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
- cp $(SHARED_IMPLIB) $(DESTDIR)/./$(PREFIX)/./$(LIBDIR)
+ mkdir -p $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)
+ cp $(SHARED_IMPLIB) $(DESTDIR)///./$(PREFIX)/./$(LIBDIR)