r193495 - Add trunk revision number on the online HTML docs.
Bill Wendling
isanbard at gmail.com
Sat Oct 26 22:00:50 PDT 2013
Author: void
Date: Sun Oct 27 00:00:50 2013
New Revision: 193495
URL: http://llvm.org/viewvc/llvm-project?rev=193495&view=rev
Log:
Add trunk revision number on the online HTML docs.
Patch by Vassil Vassilev.
PR13435
Modified:
cfe/trunk/docs/Makefile
cfe/trunk/docs/doxygen.footer
Modified: cfe/trunk/docs/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/Makefile?rev=193495&r1=193494&r2=193495&view=diff
==============================================================================
--- cfe/trunk/docs/Makefile (original)
+++ cfe/trunk/docs/Makefile Sun Oct 27 00:00:50 2013
@@ -80,6 +80,8 @@ regendoc:
$(Echo) Building doxygen documentation
$(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/doxygen
$(Verb) $(DOXYGEN) $(PROJ_OBJ_DIR)/doxygen.cfg
+ $(Verb) sed -i "s/[$$]LatestRev[$$]/`svnversion $(PROJ_SRC_DIR)`/g" \
+ $(PROJ_OBJ_DIR)/doxygen/html/*.html
$(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg
$(Echo) Packaging doxygen documentation
Modified: cfe/trunk/docs/doxygen.footer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/doxygen.footer?rev=193495&r1=193494&r2=193495&view=diff
==============================================================================
--- cfe/trunk/docs/doxygen.footer (original)
+++ cfe/trunk/docs/doxygen.footer Sun Oct 27 00:00:50 2013
@@ -1,6 +1,6 @@
<hr>
<p class="footer">
-Generated on $datetime by <a href="http://www.doxygen.org">Doxygen
+Generated on $datetime for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen
$doxygenversion</a>.</p>
<p class="footer">
More information about the cfe-commits
mailing list