diff --git a/Makefile.am b/Makefile.am index c5a6853a0b..9a49f54f5c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -81,7 +81,11 @@ GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM SUBDIRS = \ . \ - po \ + po + +if BUILD_SETTING_DOCS + +SUBDIRS += \ docs/libnm \ docs/api @@ -91,6 +95,8 @@ SUBDIRS += \ docs/libnm-glib endif +endif + ############################################################################### set_sanitizer_env = \