glcore: Respect DESTDIR
authorDan Nicholson <dbn.lists@gmail.com>
Fri, 25 Apr 2008 18:35:00 +0000 (11:35 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Fri, 25 Apr 2008 18:36:55 +0000 (11:36 -0700)
src/mesa/drivers/xorg/Makefile

index 72781824460cccae511e09dbc8afed45ee920da3..a1b417447be0bf462d58bb7fb6c8b2b1f3cc4ec4 100644 (file)
@@ -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/$@ ./