浏览代码

[docs] Skip building old doc sections

Romain Rigaux 4 年之前
父节点
当前提交
52e494bf40
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/Makefile

+ 2 - 2
docs/Makefile

@@ -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 $@