From: Dan Nicholson Date: Fri, 25 Apr 2008 18:35:00 +0000 (-0700) Subject: glcore: Respect DESTDIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10d70e2f2c182d717698bf3c8a2c1622a04ea3e8;p=mesa.git glcore: Respect DESTDIR --- diff --git a/src/mesa/drivers/xorg/Makefile b/src/mesa/drivers/xorg/Makefile index 72781824460..a1b417447be 100644 --- a/src/mesa/drivers/xorg/Makefile +++ b/src/mesa/drivers/xorg/Makefile @@ -84,8 +84,8 @@ clean: -rm -f depend depend.bak install: $(LIBNAME) - $(INSTALL) -d $(DRI_DRIVER_INSTALL_DIR) - $(INSTALL) -m 755 $(LIBNAME) $(DRI_DRIVER_INSTALL_DIR) + $(INSTALL) -d $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR) + $(INSTALL) -m 755 $(LIBNAME) $(DESTDIR)$(DRI_DRIVER_INSTALL_DIR) $(SYMLINKS): @[ -e $@ ] || ln -sf ../x11/$@ ./