diff -ruN libtheora-1.1.1-orig/doc/Makefile.am libtheora-1.1.1/doc/Makefile.am
--- libtheora-1.1.1-orig/doc/Makefile.am	2009-07-13 18:55:00.000000000 -0500
+++ libtheora-1.1.1/doc/Makefile.am	2021-12-18 15:36:39.000000000 -0600
@@ -2,7 +2,7 @@
 
 SUBDIRS = spec
 
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+docdir = $(datadir)/doc/libtheora0
 
 static_docs = vp3-format.txt color.html \
 	draft-ietf-avt-rtp-theora-00.xml \
@@ -22,7 +22,7 @@
 	touch doxygen-build.stamp
 endif
 
-dist_docdir = $(distdir)/libtheora
+dist_docdir = $(docdir)
 
 dist-hook:
 	if test -d libtheora; then \
diff -ruN libtheora-1.1.1-orig/doc/spec/Makefile.am libtheora-1.1.1/doc/spec/Makefile.am
--- libtheora-1.1.1-orig/doc/spec/Makefile.am	2009-07-13 18:55:00.000000000 -0500
+++ libtheora-1.1.1/doc/spec/Makefile.am	2021-12-18 15:36:59.000000000 -0600
@@ -3,7 +3,7 @@
 # makefile to generate the spec document from sources
 # requires transfig and pdflatex
 
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+docdir = $(datadir)/doc/libtheora0
 
 built_docs = Theora.pdf