Mesa (mesa_7_6_branch): mesa: Add missing $(DESTDIR) support to src/gallium /winsys/xlib/Makefile

Brian Paul brianp at kemper.freedesktop.org
Mon Dec 14 20:59:13 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 22d2547ad1cac1f91e839f646918ef7df6293ae9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22d2547ad1cac1f91e839f646918ef7df6293ae9

Author: Matthew Bell <matthew at bells23.org.uk>
Date:   Mon Dec 14 21:58:19 2009 -0700

mesa: Add missing $(DESTDIR) support to src/gallium/winsys/xlib/Makefile

---

 src/gallium/winsys/xlib/Makefile |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/gallium/winsys/xlib/Makefile b/src/gallium/winsys/xlib/Makefile
index 3a1945d..f346093 100644
--- a/src/gallium/winsys/xlib/Makefile
+++ b/src/gallium/winsys/xlib/Makefile
@@ -87,11 +87,11 @@ depend: $(XLIB_WINSYS_SOURCES)
 
 
 install: default
-	$(INSTALL) -d $(INSTALL_DIR)/include/GL
-	$(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
-	$(INSTALL) -m 644 $(TOP)/include/GL/*.h $(INSTALL_DIR)/include/GL
+	$(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/include/GL
+	$(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
+	$(INSTALL) -m 644 $(TOP)/include/GL/*.h $(DESTDIR)$(INSTALL_DIR)/include/GL
 	@if [ -e $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) ]; then \
-		$(MINSTALL) $(TOP)/$(LIB_DIR)/libGL* $(INSTALL_DIR)/$(LIB_DIR); \
+		$(MINSTALL) $(TOP)/$(LIB_DIR)/libGL* $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR); \
 	fi
 
 



More information about the mesa-commit mailing list