summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorAlexey Shvetsov <[email protected]>2012-04-11 01:11:56 +0300
committerFrancisco Jerez <[email protected]>2012-05-11 12:39:44 +0200
commit19eae45e012d917b682758abeaf4fb7074c00839 (patch)
tree3118aaafd8966aa4a13e2a1ecf53e642ab795166 /src/gallium/targets
parent79d77b38b85aa8e906d602dd106264a8010724f1 (diff)
gallium/targets/pipe-loader: Prepend DESTDIR to the installation directory.
Signed-off-by: Alexey Shvetsov <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-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: