doc/Makefile: use DISTVER as version for generated API docs if defined.
This commit is contained in:
parent
7b6809d6c9
commit
3c2ebfb6d3
@ -17,7 +17,11 @@ $(FILES): %.$(FORMAT): %.dot
|
|||||||
dot -T$(FORMAT) $< -o images/$@
|
dot -T$(FORMAT) $< -o images/$@
|
||||||
|
|
||||||
doxyfiletrans: $(DOXYF).in
|
doxyfiletrans: $(DOXYF).in
|
||||||
|
ifdef DISTVER
|
||||||
|
sed -e "s|@@PROJECT_NUMBER@@|${DISTVER}|" $< > $(DOXYF)
|
||||||
|
else
|
||||||
sed -e "s|@@PROJECT_NUMBER@@|$$(date +%Y%m%d)|" $< > $(DOXYF)
|
sed -e "s|@@PROJECT_NUMBER@@|$$(date +%Y%m%d)|" $< > $(DOXYF)
|
||||||
|
endif
|
||||||
|
|
||||||
doxygendocs: $(FILES) doxyfiletrans
|
doxygendocs: $(FILES) doxyfiletrans
|
||||||
doxygen $(DOXYF)
|
doxygen $(DOXYF)
|
||||||
|
Loading…
Reference in New Issue
Block a user