gallium/targets/pipe-loader: Prepend DESTDIR to the installation directory.

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
This commit is contained in:
Alexey Shvetsov 2012-04-11 01:11:56 +03:00 committed by Francisco Jerez
parent 79d77b38b8
commit 19eae45e01

View file

@ -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: