summaryrefslogtreecommitdiffhomepage
path: root/sysinfo
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-20 14:49:43 -0400
committermidipix <writeonce@midipix.org>2016-11-11 00:22:38 -0500
commita96974534ccbb77f13bbd52d99c28a437e1b2c83 (patch)
treeedc36d04e3c7390da443d6ad30a9eea30a5c13fd /sysinfo
parentc5b3f2c383247b385e03f1897f3ea8e6399cf59c (diff)
downloadmdso-a96974534ccbb77f13bbd52d99c28a437e1b2c83.tar.bz2
mdso-a96974534ccbb77f13bbd52d99c28a437e1b2c83.tar.xz
build system: properly use DESTDIR in conjunction with individual variables.
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/os/midipix.mk4
-rw-r--r--sysinfo/os/mingw.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysinfo/os/midipix.mk b/sysinfo/os/midipix.mk
index 715dbcd..d1cc534 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)$(LIBDIR)
+ cp $(SHARED_IMPLIB) $(DESTDIR)$(LIBDIR)
diff --git a/sysinfo/os/mingw.mk b/sysinfo/os/mingw.mk
index 6fbc76d..be3c106 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)$(LIBDIR)
+ cp $(SHARED_IMPLIB) $(DESTDIR)$(LIBDIR)