summaryrefslogtreecommitdiffstats
path: root/src/glw/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2007-09-12 09:57:53 -0600
committerBrian <[email protected]>2007-09-12 09:57:53 -0600
commitf5557c3a528fbad3750aaa18595dc3548b600609 (patch)
tree7aa9495b9a3df7908aca45ca55f5df67043dbc37 /src/glw/Makefile
parenta0a5e8cfc04c14873441b50f7d594ef11806b9a8 (diff)
DESTDIR support.
Diffstat (limited to 'src/glw/Makefile')
-rw-r--r--src/glw/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glw/Makefile b/src/glw/Makefile
index 5228cbbb721..778ffb02189 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