From bb4eb7e40b29edf0482691a991aeffa20978220d Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 27 Dec 2015 20:47:09 -0500 Subject: build system: DESTDIR: avoid accidental posix-special leading two slashes. --- Makefile.in | 12 ++++++------ sysinfo/os/midipix.mk | 4 ++-- sysinfo/os/mingw.mk | 4 ++-- 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) -- cgit v1.2.3