[docs] Skip building old doc sections
@@ -31,8 +31,8 @@ NO_TOC := --xsltproc-opts='--stringparam generate.toc ""'
# Being lazy/loose with the prerequisite. Include all files except sdk and
# release notes, which are handled separately below.
#
-DOC_FILES := $(shell find . -name sdk -prune -o -name release-notes -name user-guide -name admin-manual -o -path '*/gethue/*' -prune -o -print)
-$(BLD_DIR_DOC): sdk release-notes user-guide admin-manual $(DOC_FILES)
+DOC_FILES := $(shell find . -prune -o -name release-notes -o -path '*/gethue/*' -prune -o -print)
+$(BLD_DIR_DOC): release-notes $(DOC_FILES)
@echo '--- Generating doc at $@'
@mkdir -p $@
