From 19eae45e012d917b682758abeaf4fb7074c00839 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Wed, 11 Apr 2012 01:11:56 +0300 Subject: [PATCH] gallium/targets/pipe-loader: Prepend DESTDIR to the installation directory. Signed-off-by: Alexey Shvetsov --- src/gallium/targets/pipe-loader/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/targets/pipe-loader/Makefile b/src/gallium/targets/pipe-loader/Makefile index 963932d393f..eb3b4fc8aa3 100644 --- a/src/gallium/targets/pipe-loader/Makefile +++ b/src/gallium/targets/pipe-loader/Makefile @@ -149,9 +149,9 @@ $(PIPE_OBJECTS): %.o: %.c $(CC) -c -o $@ $< $(PIPE_CPPFLAGS) $(PIPE_CFLAGS) $(CFLAGS) install: $(PIPE_TARGETS) - $(INSTALL) -d $(PIPE_INSTALL_DIR) + $(INSTALL) -d $(DESTDIR)/$(PIPE_INSTALL_DIR) for tgt in $(PIPE_TARGETS); do \ - $(MINSTALL) "$$tgt" $(PIPE_INSTALL_DIR); \ + $(MINSTALL) "$$tgt" $(DESTDIR)/$(PIPE_INSTALL_DIR); \ done clean: -- 2.30.2