1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #4890 from A-Paul/doxygen_relpath

doc: provide include path list for doxyfile
This commit is contained in:
Oleg Hahm 2016-03-23 23:48:01 +01:00
commit d702793b1b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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

View File

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