From a3aa865541f1eb57c5ab2399155c93a7ccd0cfba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Tue, 17 Jan 2017 14:43:02 +0100 Subject: [PATCH 1/3] 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! --- doc/doxygen/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/doxygen/Makefile b/doc/doxygen/Makefile index 90188c15c5..d001fc0242 100644 --- a/doc/doxygen/Makefile +++ b/doc/doxygen/Makefile @@ -1,7 +1,7 @@ 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 |\ + git ls-tree -dr --full-tree --name-only HEAD core drivers sys |\ grep '/include$$' |\ sed 's/.*/\"$(subst /,\/,${RIOTBASE})\/\0\"/') From 7e8f001d43a138387fcc973e5f5219809315213c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Tue, 17 Jan 2017 14:54:45 +0100 Subject: [PATCH 2/3] doc: Remove doxygen_entrydb_*.tmp when cleaning Doxygen 1.8.12 leaves these files behind after finishing the build. --- doc/doxygen/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/doxygen/Makefile b/doc/doxygen/Makefile index d001fc0242..6d042bf891 100644 --- a/doc/doxygen/Makefile +++ b/doc/doxygen/Makefile @@ -22,4 +22,4 @@ latex: ( cat riot.doxyfile ; echo "GENERATE_LATEX= yes" ) | doxygen - clean: - -@rm -rf latex man html doxygen_objdb_*.tmp + -@rm -rf latex man html doxygen_objdb_*.tmp doxygen_entrydb_*.tmp From 125e3b0125a7853ab5d1424a9a2a9c09d79c206f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Tue, 17 Jan 2017 14:55:32 +0100 Subject: [PATCH 3/3] doc: Add some missing excludes --- doc/doxygen/riot.doxyfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/doxygen/riot.doxyfile b/doc/doxygen/riot.doxyfile index 7e2258eb93..f06d38e7b8 100644 --- a/doc/doxygen/riot.doxyfile +++ b/doc/doxygen/riot.doxyfile @@ -841,6 +841,9 @@ EXCLUDE_PATTERNS = */board/*/tools/* \ */sys/random/tinymt32/* \ */cpu/stm32f2/include/stm32f2*.h \ */cpu/stm32f4/include/stm32f4*.h \ + */cpu/stellaris_common/include/stellaris_periph \ + */cpu/native/osx-libc-extra \ + */toolchain/* \ # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names