Index: doxygen_css.h
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/doxygen_css.h,v
retrieving revision 1.6
diff -u -r1.6 doxygen_css.h
--- doxygen_css.h	12 Aug 2012 19:38:06 -0000	1.6
+++ doxygen_css.h	25 Aug 2012 17:12:00 -0000
@@ -1,4 +1,5 @@
 "/* The standard CSS for doxygen */\n"
+"/* Generated by doxygen $doxygen_version */\n"
 "\n"
 "body, table, div, p, dl {\n"
 "	font: 400 14px/19px Roboto,sans-serif;\n"
Index: footer_html.h
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/footer_html.h,v
retrieving revision 1.1
diff -u -r1.1 footer_html.h
--- footer_html.h	22 May 2012 19:36:41 -0000	1.1
+++ footer_html.h	25 Aug 2012 17:05:37 -0000
@@ -1,4 +1,5 @@
 "<!-- start footer part -->\n"
+"<!-- Generated by doxygen $doxygen_version -->\n"
 "<!--BEGIN GENERATE_TREEVIEW-->\n"
 "<div id=\"nav-path\" class=\"navpath\"><!-- id is needed for treeview function! -->\n"
 "  <ul>\n"
Index: header_html.h
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/header_html.h,v
retrieving revision 1.2
diff -u -r1.2 header_html.h
--- header_html.h	12 Aug 2012 19:38:06 -0000	1.2
+++ header_html.h	26 Aug 2012 10:25:23 -0000
@@ -1,4 +1,5 @@
 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"
+"<!-- Generated by doxygen $doxygen_version -->\n"
 "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
 "<head>\n"
 "<meta http-equiv=\"Content-Type\" content=\"text/xhtml;charset=UTF-8\"/>\n"
Index: htmlgen.cpp
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/htmlgen.cpp,v
retrieving revision 1.6
diff -u -r1.6 htmlgen.cpp
--- htmlgen.cpp	12 Aug 2012 19:38:06 -0000	1.6
+++ htmlgen.cpp	26 Aug 2012 10:07:12 -0000
@@ -1416,7 +1416,7 @@
   }
   else 
   {
-    g_header = defaultHtmlHeader;
+    g_header = QCString(defaultHtmlHeader).replace(QRegExp("$doxygen_version"),versionString);
   }
 
   if (!Config_getString("HTML_FOOTER").isEmpty()) 
@@ -1426,7 +1426,7 @@
   }
   else 
   {
-    g_footer = defaultHtmlFooter;
+    g_footer = QCString(defaultHtmlFooter).replace(QRegExp("$doxygen_version"),versionString);
   }
   createSubDirs(d);
 
@@ -1513,13 +1513,14 @@
 void HtmlGenerator::writeStyleSheetFile(QFile &file)
 {
   FTextStream t(&file);
-  t << replaceColorMarkers(defaultStyleSheet);
+  t << replaceColorMarkers(defaultStyleSheet).replace(QRegExp("$doxygen_version"),versionString);
 }
 
 void HtmlGenerator::writeHeaderFile(QFile &file, const char * /*cssname*/)
 {
   FTextStream t(&file);
   QCString contents(defaultHtmlHeader);
+  contents.replace(QRegExp("$doxygen_version"),versionString);
   t << contents;
   
 //  QString relPathStr = "$relpath$";
@@ -1537,6 +1538,7 @@
 {
   FTextStream t(&file);
   QCString contents(defaultHtmlFooter);
+  contents.replace(QRegExp("$doxygen_version"),versionString);
   t << contents;
 }
 
@@ -1675,7 +1677,7 @@
       //t << "H1 { text-align: center; border-width: thin none thin none;" << endl;
       //t << "     border-style : double; border-color : blue; padding-left : 1em; padding-right : 1em }" << endl;
 
-      t << replaceColorMarkers(defaultStyleSheet);
+      t << replaceColorMarkers(defaultStyleSheet).replace(QRegExp("$doxygen_version"),versionString);
       endPlainFile();
       Doxygen::indexList.addStyleSheetFile("doxygen.css");
     }
Index: latexgen.cpp
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/latexgen.cpp,v
retrieving revision 1.4
diff -u -r1.4 latexgen.cpp
--- latexgen.cpp	12 Aug 2012 12:06:56 -0000	1.4
+++ latexgen.cpp	25 Aug 2012 17:28:39 -0000
@@ -257,6 +257,7 @@
   // part 1
 
   QCString paperName;
+  t << "%Generated by doxygen " << versionString << endl;
   if (Config_getBool("LATEX_BATCHMODE")) t << "\\batchmode" << endl;
   QCString &paperType=Config_getEnum("PAPER_TYPE");
   if (paperType=="a4wide") 
@@ -402,6 +403,7 @@
 
 static void writeDefaultStyleSheetPart1(FTextStream &t)
 {
+  t << "%Generated by doxygen " << versionString << endl;
   // part 1
   t << "\\NeedsTeXFormat{LaTeX2e}\n"
        "\\ProvidesPackage{doxygen}\n\n";
@@ -949,6 +951,7 @@
   t << "\\addcontentsline{toc}{part}{" << theTranslator->trRTFGeneralIndex() << "}\n";
   t << "\\printindex\n";
   t << "\\end{document}\n";
+  t << "%Generated by doxygen " << versionString << endl;
 }
 
 void LatexGenerator::writeHeaderFile(QFile &f)
Index: layout.cpp
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/layout.cpp,v
retrieving revision 1.3
diff -u -r1.3 layout.cpp
--- layout.cpp	12 Aug 2012 12:06:56 -0000	1.3
+++ layout.cpp	26 Aug 2012 10:12:37 -0000
@@ -22,6 +22,7 @@
 #include "vhdldocgen.h"
 #include "util.h"
 #include "doxygen.h"
+#include "version.h"
 
 #include <assert.h>
 #include <qxml.h>
@@ -1312,7 +1313,7 @@
   // parse the default layout
   LayoutErrorHandler errorHandler( "layout_default.xml" );
   QXmlInputSource source;
-  source.setData( layout_default );
+  source.setData(QCString(layout_default).replace(QRegExp("$doxygen_version"),versionString));
   QXmlSimpleReader reader;
   reader.setContentHandler( &LayoutParser::instance() );
   reader.setErrorHandler( &errorHandler );
@@ -1372,7 +1373,7 @@
     return;
   }
   QTextStream t(&f);
-  t << layout_default;
+  t << QCString(layout_default).replace(QRegExp("$doxygen_version"),versionString);
 }
 
 //----------------------------------------------------------------------------------
Index: layout_default.h
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/layout_default.h,v
retrieving revision 1.2
diff -u -r1.2 layout_default.h
--- layout_default.h	22 Jul 2012 08:07:46 -0000	1.2
+++ layout_default.h	25 Aug 2012 17:18:12 -0000
@@ -1,4 +1,5 @@
 "<doxygenlayout version=\"1.0\">\n"
+"  <!-- Genereated by doxygen $doxygen_version -->\n"
 "  <!-- Navigation index tabs for HTML output -->\n"
 "  <navindex>\n"
 "    <tab type=\"mainpage\" visible=\"yes\" title=\"\"/>\n"
