Index: doc/Makefile.in
--- doc/Makefile.in.orig	2009-08-15 17:19:57 +0200
+++ doc/Makefile.in	2009-08-15 20:44:33 +0200
@@ -300,7 +300,7 @@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
 gengendatadir = @gengendatadir@
-gengendocdir = @gengendocdir@
+gengendocdir = @docdir@
 gl_LIBOBJS = @gl_LIBOBJS@
 gl_LTLIBOBJS = @gl_LTLIBOBJS@
 gltests_LIBOBJS = @gltests_LIBOBJS@
@@ -827,9 +827,9 @@
 	uninstall-man uninstall-man1 uninstall-pdf-am uninstall-ps-am
 
 
-@NO_BUILDMAN_TRUE@$(srcdir)/gengen.1: $(top_srcdir)/src/cmdline.ggo
+@NO_BUILDMAN_TRUE@$(srcdir)/gengen.1:
 @NO_BUILDMAN_TRUE@	touch $@
-@NO_BUILDMAN_FALSE@$(srcdir)/gengen.1: $(top_srcdir)/src/cmdline.ggo
+@NO_BUILDMAN_FALSE@$(srcdir)/gengen.1:
 @NO_BUILDMAN_FALSE@	$(HELP2MAN) $(top_builddir)/src/gengen > $@
 
 gengen.texinfo: $(GENERATEDINFOS)
