diff options
-rwxr-xr-x | scripts/gendoxylist | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/gendoxylist b/scripts/gendoxylist index 988891d1..6ae5804b 100755 --- a/scripts/gendoxylist +++ b/scripts/gendoxylist @@ -11,8 +11,9 @@ IPATH=$(echo ${DDIR} | sed -e 's#../lib/##') PATH_DELTA=$(realpath --relative-to=${ODIR} ${DDIR}) printf "# This file is autogenerated by scripts/gendoxylist\n" > ${ODIR}/${ONAME} -printf "# All headers for platform, not always caught by .d file tracking\n" >> ${ODIR}/${ONAME} -for FN in $(find ../include/libopencm3/${IPATH} -name '*.h'); do +printf "# All headers for core/platform, not always caught by .d file tracking\n" >> ${ODIR}/${ONAME} +UNTRACKED_DIRS="../include/libopencm3/cm3 ../include/libopencm3/${IPATH}" +for FN in $(find ${UNTRACKED_DIRS} -name '*.h'); do printf "INPUT += ../%s\n" "$FN" >> ${ODIR}/${ONAME} done |