summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5986c6b1..d47cb106 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,10 @@ if BUILD_GTK
GTK_SUBDIR = gtk
endif
-SUBDIRS = codegen . $(GTK_SUBDIR) docs examples tests
+SUBDIRS = codegen . $(GTK_SUBDIR) examples tests
+if ENABLE_DOCS
+SUBDIRS += docs
+endif
PLATFORM_VERSION = 2.0