--- Makefile.in.orig	Sun Sep  9 00:50:09 2007
+++ Makefile.in	Sun Sep  9 00:49:56 2007
@@ -28,7 +28,7 @@
 libdir = $(exec_prefix)/lib
 incdir = $(exec_prefix)/include
 manext = 1
-mandir = $(prefix)/man/man$(manext)
+mandir = @mandir@/man$(manext)
 
 # HP 9000 series, if you don't have gcc
 #   CC = cc
