X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=doxygen%2FMakefile;h=f1bee5b847c17321d8a95fc3db260450e548390f;hb=515eed42583a52d4783ff4906afa01244899e030;hp=b6ba5887666190e6b906c52e982db7963180cd33;hpb=583dc8d3e23a780c85ebe48ea59f0338aad4df17;p=vpp.git diff --git a/doxygen/Makefile b/doxygen/Makefile index b6ba5887666..f1bee5b847c 100644 --- a/doxygen/Makefile +++ b/doxygen/Makefile @@ -45,16 +45,16 @@ DOXY_DIR ?= $(WS_ROOT)/doxygen # Primary source directories DOXY_SRC ?= src DOXY_SRC_DIRECTORIES = \ + $(shell find $(DOXY_SRC) -name '*.md' -print | xargs dirname \ + | sort | uniq) \ $(DOXY_SRC)/vppinfra \ $(DOXY_SRC)/svm \ $(DOXY_SRC)/vlib \ $(DOXY_SRC)/vlibapi \ $(DOXY_SRC)/vlibmemory \ - $(DOXY_SRC)/vlibsocket \ $(DOXY_SRC)/vnet \ $(DOXY_SRC)/vpp \ $(DOXY_SRC)/vpp-api \ - $(DOXY_SRC)/uri \ $(DOXY_SRC)/examples # Input directories and files @@ -62,7 +62,8 @@ DOXY_INPUT ?= \ $(wildcard $(WS_ROOT)/*.md) \ $(wildcard $(DOXY_DIR)/*.md) \ $(DOXY_SRC_DIRECTORIES) \ - $(DOXY_SRC)/plugins + $(DOXY_SRC)/plugins \ + extras # Strip leading workspace path from input names DOXY_INPUT := $(subst $(WS_ROOT)/,,$(DOXY_INPUT)) @@ -73,7 +74,6 @@ DOXY_INPUT := $(subst $(WS_ROOT)/,,$(DOXY_INPUT)) # there's a DPDK equivalent that conflicts. # These must be left-anchored paths for the regexp below to work. DOXY_EXCLUDE ?= \ - $(DOXY_SRC)/vlib/buffer.c \ $(DOXY_SRC)/vpp-api/lua # Generate a regexp for filenames to exclude