--- doc/Makefile.in.orig	2010-12-28 10:04:45 UTC
+++ doc/Makefile.in
@@ -23,7 +23,7 @@ SHELL=/bin/sh
 prefix=@prefix@
 datarootdir = @datarootdir@
 mandir=$(DESTDIR)@mandir@
-docdir=$(DESTDIR)${prefix}/doc/wwwoffle
+docdir=$(DESTDIR)@docdir@
 
 SPOOLDIR=@SPOOLDIR@
 CONFDIR=@CONFDIR@
