--- unix/demo/Makefile	Mon Aug 25 06:18:22 2003
+++ ../../FTGL/unix/demo/Makefile	Sun Feb  8 19:52:56 2004
@@ -32,7 +32,7 @@
 
 install-local: FTGLDemo
 	$(INSTALL) -d -m 0755 $(bindir)
-	$(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(TARGET) $(bindir)
+	$(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(TARGET) ${DESTDIR}/${prefix}/bin
 else
 FTGLDemo:
 	@echo GLUT not available, demo won\'t be compiled
