commit 4c25471bfdcc8f7568ad58f1fa30da3e9e8e77b5
parent 0b37868baf51c5278a8e31fde4116a6d0104d21f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 21 Sep 2016 16:21:02 +0000
If examples are disabled - do not build 'examples' in '/doc' too.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/doc/Makefile.am b/doc/Makefile.am
@@ -1,7 +1,11 @@
# This Makefile.am is in the public domain
man_MANS = libmicrohttpd.3
-SUBDIRS = . examples doxygen
+SUBDIRS = . doxygen
+
+if BUILD_EXAMPLES
+SUBDIRS += examples
+endif
DISTCLEANFILES = \
libmicrohttpd.cps \