Skip to content
Snippets Groups Projects
Commit d702793b authored by Oleg Hahm's avatar Oleg Hahm
Browse files

Merge pull request #4890 from A-Paul/doxygen_relpath

doc: provide include path list for doxyfile
parents cf608df0 bce61166
No related branches found
No related tags found
No related merge requests found
RIOTBASE=$(shell git rev-parse --show-toplevel)
# Generate list of quoted absolute include paths. Evaluated in riot.doxyfile.
export STRIP_FROM_INC_PATH_LIST=$(shell \
git ls-tree -dr --full-tree --name-only HEAD |\
grep '/include$$' |\
sed 's/.*/\"$(subst /,\/,${RIOTBASE})\/\0\"/')
.PHONY: doc
doc: html
......
......@@ -161,7 +161,7 @@ STRIP_FROM_PATH =
# specify the list of include paths that are normally passed to the compiler
# using the -I flag.
STRIP_FROM_INC_PATH =
STRIP_FROM_INC_PATH = $(STRIP_FROM_INC_PATH_LIST) # Exported from Makefile.
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
# less readable) file names. This can be useful is your file systems doesn't
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment