summaryrefslogtreecommitdiff
path: root/src/glut/fbdev/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-09-12 09:57:53 -0600
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:03:35 +0100
commit60cbd66d1ffda74d20fea1cfb82d44ec4488e34a (patch)
tree3afb00287c97c1cb9eaa852febadff6f7278e958 /src/glut/fbdev/Makefile
parent704c53ea6f026f6ae48df95ce16546a11d47a0aa (diff)
downloadglut-60cbd66d1ffda74d20fea1cfb82d44ec4488e34a.tar.gz
DESTDIR support.
Diffstat (limited to 'src/glut/fbdev/Makefile')
-rw-r--r--src/glut/fbdev/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glut/fbdev/Makefile b/src/glut/fbdev/Makefile
index b32b414..210ff82 100644
--- a/src/glut/fbdev/Makefile
+++ b/src/glut/fbdev/Makefile
@@ -69,10 +69,10 @@ $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS)
$(MKLIB_OPTIONS) $(OBJECTS)
install:
- $(INSTALL) -d $(INSTALL_DIR)/include/GL
- $(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
- $(INSTALL) -m 644 $(TOP)/include/GL/glut.h $(INSTALL_DIR)/include/GL
- $(INSTALL) $(TOP)/$(LIB_DIR)/libglut* $(INSTALL_DIR)/$(LIB_DIR)
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/include/GL
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
+ $(INSTALL) -m 644 $(TOP)/include/GL/glut.h $(DESTDIR)$(INSTALL_DIR)/include/GL
+ $(INSTALL) $(TOP)/$(LIB_DIR)/libglut* $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
# Run 'make -f Makefile.solo dep' to update the dependencies if you change
# what's included by any source file.