diff --git a/doc/Makefile b/doc/Makefile index 2a2ef04a..b2c4b16a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -17,7 +17,11 @@ $(FILES): %.$(FORMAT): %.dot dot -T$(FORMAT) $< -o images/$@ doxyfiletrans: $(DOXYF).in +ifdef DISTVER + sed -e "s|@@PROJECT_NUMBER@@|${DISTVER}|" $< > $(DOXYF) +else sed -e "s|@@PROJECT_NUMBER@@|$$(date +%Y%m%d)|" $< > $(DOXYF) +endif doxygendocs: $(FILES) doxyfiletrans doxygen $(DOXYF)