--- unix/docs/Makefile	Thu Mar  6 11:22:54 2003
+++ ../../FTGL/unix/docs/Makefile	Sun Feb  8 19:56:11 2004
@@ -13,8 +13,8 @@
 	touch $@
 
 install-local: doc
-	$(INSTALL) -d -m 0755 $(datadir)/doc/$(PACKAGE_NAME)/html
-	$(INSTALL) -m 0644 html/* $(datadir)/doc/$(PACKAGE_NAME)/html/
+	$(INSTALL) -d -m 0755 ${DESTDIR}/${prefix}/share/doc/$(PACKAGE_NAME)/html
+	$(INSTALL) -m 0644 html/* ${DESTDIR}/${prefix}/share/doc/$(PACKAGE_NAME)/html/
 
 distclean-local:
 	$(RM) -r $(DOCDIRS)
