dhcp ip: DSCP settings for transmitted DHCP packets
[vpp.git] / doxygen / Makefile
index 9caa407..f1bee5b 100644 (file)
@@ -45,12 +45,13 @@ 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 \
@@ -61,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))
@@ -72,9 +74,7 @@ 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/vlib/buffer.c \
-       $(DOXY_SRC)/vpp-api/lua \
-       $(DOXY_SRC)/examples/sample-plugin
+       $(DOXY_SRC)/vpp-api/lua
 
 # Generate a regexp for filenames to exclude
 DOXY_EXCLUDE_REGEXP = ($(subst .,\.,$(shell echo '$(strip $(DOXY_EXCLUDE))' | sed -e 's/ /|/g')))
@@ -204,6 +204,7 @@ $(SIPHON_FILES): $(BR)/.doxygen-bootstrap.ok \
                cd "$(WS_ROOT)"; \
                find "$$input" -type f \
                        \( -name '*.[ch]' -or -name '*.dox' \) -print \
+                       | grep -v -E '^src/examples/' \
                        | grep -v -E '^$(DOXY_EXCLUDE_REGEXP)' \
                        >> $(SIPHON_INPUT)/files; \
        done