diff options
author | midipix <writeonce@midipix.org> | 2015-12-27 20:46:43 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:32 -0500 |
commit | 6ec2a98f5e01f7a2c15dba60f9fc4ca78155f729 (patch) | |
tree | fdc4f0d8063a6605d08096bc15e217bf5baa7d11 | |
parent | 919cb658188c6faf574aa17dbb8bb91ac2008994 (diff) | |
download | mdso-6ec2a98f5e01f7a2c15dba60f9fc4ca78155f729.tar.bz2 mdso-6ec2a98f5e01f7a2c15dba60f9fc4ca78155f729.tar.xz |
build system: DESTDIR: avoid accidental posix-special leading two slashes.
-rw-r--r-- | Makefile.in | 16 | ||||
-rw-r--r-- | sysinfo/os/midipix.mk | 4 | ||||
-rw-r--r-- | 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) |