From 8e69c8c0df7fe8398e0ca8e72e675de01398eecf Mon Sep 17 00:00:00 2001 From: Magnus Edenhill Date: Mon, 7 Apr 2014 14:26:25 +0700 Subject: [PATCH] mklove update: DESTDIR --- mklove/Makefile.base | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mklove/Makefile.base b/mklove/Makefile.base index 3b9a4275..2c9aff8e 100644 --- a/mklove/Makefile.base +++ b/mklove/Makefile.base @@ -97,9 +97,9 @@ lib-install: $(INSTALL) -d $$DESTDIR$(includedir)/$(PKGNAME) ; \ $(INSTALL) -d $$DESTDIR$(libdir) ; \ $(INSTALL) $(HDRS) $$DESTDIR$(includedir)/$(PKGNAME) ; \ - $(INSTALL) $(LIBNAME).a $$DESTDIR/$(libdir) ; \ - $(INSTALL) $(LIBNAME).so.$(LIBVER) $$DESTDIR/$(libdir) ; \ - (cd $$DESTDIR/$(libdir) && ln -sf $(LIBNAME).so.$(LIBVER) $(LIBNAME).so) + $(INSTALL) $(LIBNAME).a $$DESTDIR$(libdir) ; \ + $(INSTALL) $(LIBNAME).so.$(LIBVER) $$DESTDIR$(libdir) ; \ + (cd $$DESTDIR$(libdir) && ln -sf $(LIBNAME).so.$(LIBVER) $(LIBNAME).so) lib-uninstall: @echo "$(MKL_YELLOW)Uninstall $(LIBNAME) from $$DESTDIR$(prefix)$(MKL_CLR_RESET)" @@ -114,7 +114,7 @@ lib-uninstall: bin-install: @echo "$(MKL_YELLOW)Install $(BIN) to $$DESTDIR$(prefix)$(MKL_CLR_RESET)" $(INSTALL) -d $$DESTDIR$(bindir) && \ - $(INSTALL) $(BIN) $$DESTDIR/$(bindir) + $(INSTALL) $(BIN) $$DESTDIR$(bindir) bin-uninstall: @echo "$(MKL_YELLOW)Uninstall $(BIN) from $$DESTDIR$(prefix)$(MKL_CLR_RESET)"