summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c42e33dd..9309390b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,9 +1,17 @@
# This Makefile is in the public domain
if DOC_ONLY
+if ENABLE_DOC
SUBDIRS = . doc
else
+ SUBDIRS = .
+endif
+else
+if ENABLE_DOC
SUBDIRS = . src doc
+else
+ SUBDIRS = . src doc
+endif
endif
@DX_RULES@