GNOME Bugzilla – Bug 316508
$(docdir) conflicts with CVS Autoconf
Last modified: 2006-04-15 12:05:30 UTC
CVS Autoconf introduces docdir, which defaults to prefix/share/doc/packagename xmldocs.make also defines docdir, which conflicts with this variable. Automake issues a warning. According to my tests with Automake 1.9.6, both definitions are outputted, and the "docdir = @docdir@" is lower, so things won't work as expected. Autoconf only obeys GNU Coding Standards here, so if you are not willing to change the name of the variable to resolve the problem, you have to wrestle with GCS.
xmldocs.make is copied from scrollkeeper. So this problem will hit just about every app that uses scrollkeeper.
OK, so I reported it as a scrollkeper bug http://sourceforge.net/tracker/index.php?func=detail&aid=1450363&group_id=11543&atid=111543
I've change gtk-doc to use gtkdochelpdir.