diff options
author | midipix <writeonce@midipix.org> | 2015-12-27 20:46:10 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:34 -0500 |
commit | 33dc49004a3a5ef6dd05564c9d04e5a1d47c8a3d (patch) | |
tree | 1cb11b41b231e32c20300b282e665df2805cd229 | |
parent | 97a3637cfd4a798bcebf0a2079fdcf2bd100c9cb (diff) | |
download | perk-33dc49004a3a5ef6dd05564c9d04e5a1d47c8a3d.tar.bz2 perk-33dc49004a3a5ef6dd05564c9d04e5a1d47c8a3d.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) |