diff --git a/doc/Makefile b/doc/Makefile index 3cd67dfbff..4228c54017 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -57,7 +57,10 @@ $(DOCS) doc/doxy/html: | doc/ $(DOC_EXAMPLES:%=%.o): | doc/examples OBJDIRS += doc/examples -doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS) +DOXY_TEMPLATES = doxy_stylesheet.css footer.html header.html +DOXY_TEMPLATES := $(addprefix $(SRC_PATH)/doc/doxy/, $(DOXY_TEMPLATES)) + +doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(DOXY_TEMPLATES) $(INSTHEADERS) $(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^ install-progs-$(CONFIG_POD2MAN): install-man