summaryrefslogtreecommitdiff
path: root/src/glw
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-09-12 09:57:53 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-12 09:57:53 -0600
commitf5557c3a528fbad3750aaa18595dc3548b600609 (patch)
tree7aa9495b9a3df7908aca45ca55f5df67043dbc37 /src/glw
parenta0a5e8cfc04c14873441b50f7d594ef11806b9a8 (diff)
DESTDIR support.
Diffstat (limited to 'src/glw')
-rw-r--r--src/glw/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glw/Makefile b/src/glw/Makefile
index 5228cbbb72..778ffb0218 100644
--- a/src/glw/Makefile
+++ b/src/glw/Makefile
@@ -26,10 +26,10 @@ OBJECTS = $(GLW_SOURCES:.c=.o)
default: $(TOP)/$(LIB_DIR)/$(GLW_LIB_NAME)
install:
- $(INSTALL) -d $(INSTALL_DIR)/include/GL
- $(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
- $(INSTALL) -m 644 *.h $(INSTALL_DIR)/include/GL
- $(INSTALL) $(TOP)/$(LIB_DIR)/libGLw.* $(INSTALL_DIR)/$(LIB_DIR)
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/include/GL
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
+ $(INSTALL) -m 644 *.h $(DESTDIR)$(INSTALL_DIR)/include/GL
+ $(INSTALL) $(TOP)/$(LIB_DIR)/libGLw.* $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
clean:
-rm depend depend.bak