Przeglądaj źródła

If examples are disabled - do not build 'examples' in '/doc' too.

Evgeny Grin (Karlson2k) 9 lat temu
rodzic
commit
4c25471bfd
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      doc/Makefile.am

+ 5 - 1
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 \