summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f149bfe..8362566 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,11 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = va pkgconfig doc
+SUBDIRS = va pkgconfig
+
+if ENABLE_DOCS
+SUBDIRS += doc
+endif
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \