aboutsummaryrefslogtreecommitdiffstats
path: root/src/glw
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2007-09-12 10:01:06 -0600
committerBrian <[email protected]>2007-09-12 10:01:06 -0600
commit6ca0d636928c28d1bfa714a5fa96693a3d1a97ab (patch)
tree14e23471592135a6c4fe6d7e08bc9cd616067d7c /src/glw
parent95fc2485e25222ae4d0348b19d47cf45734c3a99 (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 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