summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-23 22:02:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-23 22:02:30 (GMT)
commit538ff79e2f606c4c3722d94e10f0a759a1f97d86 (patch)
treef5921690ef9778d9418e0fb74d260375398850c2 /Source/cmMakefile.cxx
parenta4f40c31f1e160ab34d90c1a5e9ed5ab6cc1de59 (diff)
downloadCMake-538ff79e2f606c4c3722d94e10f0a759a1f97d86.zip
CMake-538ff79e2f606c4c3722d94e10f0a759a1f97d86.tar.gz
CMake-538ff79e2f606c4c3722d94e10f0a759a1f97d86.tar.bz2
ENH: improve coverage
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ee27f58..a54b78a 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -805,8 +805,12 @@ int cmMakefile::DumpDocumentationToFile(std::ostream& f)
const char *name;
const char *terse;
const char *full;
-
- f << "<html><ul>\n";
+ char tmp[1024];
+ sprintf(tmp,"Version %d.%d", cmMakefile::GetMajorVersion(),
+ cmMakefile::GetMinorVersion());
+ f << "<html>\n";
+ f << "<h1>Documentation for commands of CMake " << tmp << "</h1>\n";
+ f << "<ul>\n";
for(RegisteredCommandsMap::iterator j = m_Commands.begin();
j != m_Commands.end(); ++j)
{