--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src test data po windows tools doc
+SUBDIRS = src test data po windows tools
 if !WINDOWS
 SUBDIRS += help
 endif
--- a/configure.ac
+++ b/configure.ac
@@ -11,13 +11,6 @@ AM_INIT_AUTOMAKE([dist-bzip2 dist-zip su
 dnl AC_CONFIG_SRCDIR([src/main.c])
 AC_CONFIG_HEADERS([src/config.h])
 
-# check for gtk-doc
-m4_ifdef([GTK_DOC_CHECK], [
-GTK_DOC_CHECK([1.0],[--flavour no-tmpl])
-],[
-AM_CONDITIONAL([ENABLE_GTK_DOC], false)
-])
-
 AC_PROG_CC
 # Checks for programs.
 AC_PROG_MAKE_SET
@@ -590,9 +583,7 @@ AC_CONFIG_FILES([
 		windows/installer/Makefile
 		windows/installer/pixmaps/Makefile
 		windows/installer/translations/Makefile
-		doc/Makefile
-		doc/reference/Makefile
-		doc/examples/Makefile])
+		])
 
 AC_OUTPUT
 
