diff -uNr libtheora-1.0alpha4/doc/Makefile.in libtheora-1.0alpha4-patched/doc/Makefile.in
--- libtheora-1.0alpha4/doc/Makefile.in	Wed Dec 15 15:06:17 2004
+++ libtheora-1.0alpha4-patched/doc/Makefile.in	Sat Jan 22 09:27:52 2005
@@ -191,13 +191,13 @@
 target_os = @target_os@
 target_vendor = @target_vendor@
 SUBDIRS = #python
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+docdir = $(datadir)/doc/libtheora0
 built_docs = 
 static_docs = vp3-format.txt color.html
 doc_DATA = $(built_docs) $(static_docs) doxygen-build.stamp
 EXTRA_DIST = $(built_docs) $(static_docs) spec Doxyfile.in
 CLEANFILES = $(built_docs)
-dist_docdir = $(distdir)/libtheora
+dist_docdir = $(distdir)/libtheora0
 all: all-recursive
 
 .SUFFIXES:
@@ -545,21 +545,21 @@
 	fi
 
 install-data-local: doxygen-build.stamp
-	$(mkinstalldirs) $(docdir)
+	$(mkinstalldirs) $(DESTDIR)$(docdir)
 	if test -d libtheora; then \
 	  for dir in libtheora/*; do \
 	    if test -d $$dir; then \
 	      b=`basename $$dir`; \
-	      $(mkinstalldirs) $(docdir)/$$b; \
+	      $(mkinstalldirs) $(DESTDIR)$(docdir)/$$b; \
 	      for f in $$dir/*; do \
-		$(INSTALL_DATA) $$f $(docdir)/$$b; \
+		$(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$b; \
 	      done \
 	    fi \
 	  done \
 	fi
 
 uninstall-local:
-	rm -rf $(docdir)
+	rm -rf $(DESTDIR)$(docdir)
 
 clean-local:
 	if test -d libtheora; then rm -rf libtheora; fi