diff options
author | Matthew Bell <matthew@bells23.org.uk> | 2009-12-14 21:58:19 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-14 21:58:19 -0700 |
commit | 22d2547ad1cac1f91e839f646918ef7df6293ae9 (patch) | |
tree | 81b4a5e74815550982ce0675aba3d7f9b07bbc17 /src/gallium/winsys/xlib | |
parent | 0a8d508854c6dd354e611b046e375b8633059a40 (diff) |
mesa: Add missing $(DESTDIR) support to src/gallium/winsys/xlib/Makefile
Diffstat (limited to 'src/gallium/winsys/xlib')
-rw-r--r-- | 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 3a1945d92c..f34609386d 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 |