doc: don't add timestamps in generated documentation.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 18 Nov 2011 12:17:50 +0000 (12:17 +0000)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 10 Oct 2014 06:56:05 +0000 (14:56 +0800)
(cherry picked from commit 3a5a1c46404354f3a8911149f65c568a3166395c)

doc/Doxyfile
doc/Makefile.am
doc/va_footer.html [new file with mode: 0644]

index 4fb3a8c..03b44d8 100644 (file)
@@ -824,7 +824,7 @@ HTML_HEADER            =
 # each generated HTML page. If it is left blank doxygen will generate a
 # standard footer.
 
-HTML_FOOTER            =
+HTML_FOOTER            = $(VA_HTML_FOOTER)
 
 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading
 # style sheet that is used by each HTML page. It can be used to
index 052b863..aaedcc2 100644 (file)
@@ -31,9 +31,13 @@ VA_HEADER_DIR   = $(top_srcdir)/va
 VA_HEADER_FILES = \
        $(NULL)
 
+VA_HTML_FOOTER         = va_footer.html
+VA_HTML_FRAGMENTS      = $(VA_HTML_FOOTER)
+
 export VA_HEADER_DIR
 export VA_HEADER_FILES
-html-out/index.html: Doxyfile $(VA_HEADER_FILES)
+export VA_HTML_FOOTER
+html-out/index.html: Doxyfile $(VA_HEADER_FILES) $(VA_HTML_FRAGMENTS)
        $(DOXYGEN) $<
 
 if ENABLE_DOCS
@@ -52,8 +56,5 @@ uninstall-local:
        rm -rf $(DESTDIR)$(docdir)/html
 endif
 
-clean-local:
-       rm -rf html-out
-
 # Extra clean files so that maintainer-clean removes *everything*
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/doc/va_footer.html b/doc/va_footer.html
new file mode 100644 (file)
index 0000000..9f1875c
--- /dev/null
@@ -0,0 +1,4 @@
+<hr class="footer"/><address class="footer"><small>
+Generated for $projectname by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="$relpath$doxygen.png" alt="doxygen"/></a> $doxygenversion</small></address>
+</body>
+</html>