doc/Makefile: use DISTVER as version for generated API docs if defined.
This commit is contained in:
1 parent
7b6809d6c9
commit
3c2ebfb6d3
1 file changed
+4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user