summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2012-04-11 01:11:56 +0300
committerFrancisco Jerez <currojerez@riseup.net>2012-05-08 14:15:27 +0200
commita65699ec35b8f484262fe8d6e0d2f4aac0ea862e (patch)
tree6e7d862533581717927248cd070f3d44fe2ea340
parente414110098d2dedb7b2c60fc50469d73f2c351b5 (diff)
downloadmesa-gallium-compute.tar.gz
gallium/targets/pipe-loader: Prepend DESTDIR to the installation directory.gallium-compute
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r--src/gallium/targets/pipe-loader/Makefile4
1 files 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: