From 6ec2a98f5e01f7a2c15dba60f9fc4ca78155f729 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 27 Dec 2015 20:46:43 -0500 Subject: build system: DESTDIR: avoid accidental posix-special leading two slashes. --- Makefile.in | 16 ++++++++-------- sysinfo/os/midipix.mk | 4 ++-- sysinfo/os/mingw.mk | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile.in b/Makefile.in index df3113b..176a9f7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -99,20 +99,20 @@ app: default-app 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) install-app: app - mkdir -p $(DESTDIR)/./$(PREFIX)/./$(BINDIR) - cp $(APP) $(DESTDIR)/./$(PREFIX)/./$(BINDIR) + mkdir -p $(DESTDIR)///./$(PREFIX)/./$(BINDIR) + cp $(APP) $(DESTDIR)///./$(PREFIX)/./$(BINDIR) diff --git a/sysinfo/os/midipix.mk b/sysinfo/os/midipix.mk index c1bc882..715dbcd 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 e6201e3..6fbc76d 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