Преглед на файлове

moved dump docs into cmake

Ken Martin преди 23 години
родител
ревизия
74e13ad2fc
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      Source/cmDumpDocumentation.cxx

+ 3 - 3
Source/cmDumpDocumentation.cxx

@@ -17,11 +17,11 @@
 // Program extracts documentation describing commands from
 // Program extracts documentation describing commands from
 // the CMake system.
 // the CMake system.
 // 
 // 
-#include "cmMakefile.h"
+#include "cmake.h"
 
 
 int main(int ac, char** av)
 int main(int ac, char** av)
 {
 {
-  cmMakefile makefile;
+  cmake cmi;
   const char* outname = "cmake.html";
   const char* outname = "cmake.html";
   if(ac > 1)
   if(ac > 1)
     {
     {
@@ -33,6 +33,6 @@ int main(int ac, char** av)
     std::cerr << "failed to open output file: " << outname << "\n";
     std::cerr << "failed to open output file: " << outname << "\n";
     return -1;
     return -1;
     }
     }
-  makefile.DumpDocumentationToFile(fout);
+  cmi.DumpDocumentationToFile(fout);
   return 0;
   return 0;
 }
 }