fix DESTDIR omissions
authorHanno Böck <hanno@hboeck.de>
Fri, 15 Aug 2008 23:14:54 +0000 (17:14 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Aug 2008 23:14:54 +0000 (17:14 -0600)
src/glu/Makefile
src/glw/Makefile

index 5ddc50946aab2f5dae68962d6d2dc88fc068e1eb..b8c55db6d0aeab15bf766d559f94cfd814c00195 100644 (file)
@@ -14,8 +14,8 @@ default: $(TOP)/configs/current
        done
 
 install:
-       $(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR)
-       $(INSTALL) $(TOP)/$(LIB_DIR)/libGLU.* $(INSTALL_DIR)/$(LIB_DIR)
+       $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
+       $(INSTALL) $(TOP)/$(LIB_DIR)/libGLU.* $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
 
 clean:
        @for dir in $(SUBDIRS) ; do \
index 12ab2facd4828df1f97e9007dc2b79a7615cb893..86a0bbaeace071f2bb971771b7c825c7bd468fa8 100644 (file)
@@ -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