--- gtk+-2.24.10/docs/reference/gdk/Makefile.am.orig	2011-08-16 06:30:51 +0400
+++ gtk+-2.24.10/docs/reference/gdk/Makefile.am	2012-04-27 00:01:49 +0400
@@ -37,7 +37,7 @@
 
 # Extra files to add when scanning (relative to $srcdir)
 EXTRA_HFILES=			\
-	../../../gdk/x11/gdkx.h 
+	$(top_srcdir)/gdk/x11/gdkx.h 
 
 # CFLAGS and LDFLAGS for compiling scan program. Only needed
 # if $(DOC_MODULE).types is non-empty.
