diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2012-02-18 21:07:39 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2012-02-18 21:07:39 (GMT) |
commit | a6bce55aefd332f148a2753d5be0ec4383534473 (patch) | |
tree | 6f1af3b2fdb4778edf82859cf0888f637c1e9a40 /Source/CPack/cpack.cxx | |
parent | bfbb57508603ab6c7007d75718b21868b690e151 (diff) | |
download | CMake-a6bce55aefd332f148a2753d5be0ec4383534473.zip CMake-a6bce55aefd332f148a2753d5be0ec4383534473.tar.gz CMake-a6bce55aefd332f148a2753d5be0ec4383534473.tar.bz2 |
Dynamically add documentation section specified in documented script.
Modify CPackDeb and CPackRPM as an example
Diffstat (limited to 'Source/CPack/cpack.cxx')
-rw-r--r-- | Source/CPack/cpack.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index c541610..6f5055c 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -514,7 +514,6 @@ int main (int argc, char *argv[]) if ( help ) { // Construct and print requested documentation. - std::vector<cmDocumentationEntry> variables; doc.SetName("cpack"); doc.SetSection("Name",cmDocumentationName); @@ -545,7 +544,7 @@ int main (int argc, char *argv[]) { doc.GetStructuredDocFromFile( (docedIt->first).c_str(), - commands,&cminst,(docedIt->second).c_str()); + commands,&cminst); } std::map<std::string,cmDocumentationSection *> propDocs; |