Skip to content
Snippets Groups Projects
Commit a3aa8655 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

doc: Only strip core, drivers, and sys include path prefixes

fixes tons of false warnings on cpu_conf.h headers in cpu

/tmp/RIOT/cpu/atmega1281/include/cpu_conf.h:12: warning: the name `/tmp/RIOT/cpu/atmega1281/include/cpu_conf.h' supplied as the second argument in the \file statement matches the following input files:
   /tmp/RIOT/cpu/atmega1281/include/cpu_conf.h
Please use a more specific name by including a (larger) part of the path!
parent 1730b883
No related branches found
No related tags found
No related merge requests found
RIOTBASE=$(shell git rev-parse --show-toplevel) RIOTBASE=$(shell git rev-parse --show-toplevel)
# Generate list of quoted absolute include paths. Evaluated in riot.doxyfile. # Generate list of quoted absolute include paths. Evaluated in riot.doxyfile.
export STRIP_FROM_INC_PATH_LIST=$(shell \ export STRIP_FROM_INC_PATH_LIST=$(shell \
git ls-tree -dr --full-tree --name-only HEAD |\ git ls-tree -dr --full-tree --name-only HEAD core drivers sys |\
grep '/include$$' |\ grep '/include$$' |\
sed 's/.*/\"$(subst /,\/,${RIOTBASE})\/\0\"/') sed 's/.*/\"$(subst /,\/,${RIOTBASE})\/\0\"/')
......
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