update documentation rule
authorMazet Laurent <laurent.mazet@thalesgroup.com>
Tue, 20 May 2025 13:38:49 +0000 (15:38 +0200)
committerMazet Laurent <laurent.mazet@thalesgroup.com>
Tue, 20 May 2025 13:38:49 +0000 (15:38 +0200)
makefile

index 042644cf60afa8faa1af0ce8499a9daac098048f..84a07fc08b3dafe7fb33751b304364805d610963 100644 (file)
--- a/makefile
+++ b/makefile
@@ -99,7 +99,7 @@ clean:
 
 depends: $(patsubst %.c, %.d, $(wildcard *.c)) $(patsubst %, %.ld, $(ALLEXE))
 
-documentation: doxygen.conf morep.c morep.h parse.h $(wildcard pdu_*.h)
+documentation: doxygen.conf $(shell awk '{sub(/#.*/,"")} /^FILE_PATTERNS/,!/\\$$/ {sub(/\\$$/,"");sub(/.*=/,"");print}' doxygen.conf)
        doxygen $<; true
        sed -i s/__BEGIN_DECLS//g documentation/html/*.html
        sed -i s/\\_\\-\\_BEGIN\\_\\-DECLS//g documentation/latex/*.tex