gallium: Install winsys/drm to DESTDIR rather than /
authorJoel Bosveld <joel.bosveld@gmail.com>
Mon, 23 Feb 2009 15:19:14 +0000 (08:19 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 23 Feb 2009 15:19:14 +0000 (08:19 -0700)
src/gallium/winsys/drm/Makefile.template

index b0d98121c23aac27e6d1c1475a77e333b66971de..9f92cb42072bb436cf71246025adf8734bac27f3 100644 (file)
@@ -117,8 +117,8 @@ clean:
 
 
 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)
 
 
 include depend