diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-15 17:02:18 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-15 17:02:18 (GMT) |
commit | c09c3c6bfadb41bd0b43082642ce76abbf02df06 (patch) | |
tree | d0aa5a228f589eddd9f75e0a980d8cf228326731 /Source/CPack/cmCPackPackageMakerGenerator.cxx | |
parent | 1df8e12c42a0ba6228059f456849010db5695ec3 (diff) | |
download | CMake-c09c3c6bfadb41bd0b43082642ce76abbf02df06.zip CMake-c09c3c6bfadb41bd0b43082642ce76abbf02df06.tar.gz CMake-c09c3c6bfadb41bd0b43082642ce76abbf02df06.tar.bz2 |
ENH: Support for packaging source, several cleanups and more yeehaa...
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackPackageMakerGenerator.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.cxx b/Source/CPack/cmCPackPackageMakerGenerator.cxx index b667415..1d6cb35 100644 --- a/Source/CPack/cmCPackPackageMakerGenerator.cxx +++ b/Source/CPack/cmCPackPackageMakerGenerator.cxx @@ -137,13 +137,8 @@ int cmCPackPackageMakerGenerator::CompressFiles(const char* outFileName, } //---------------------------------------------------------------------- -int cmCPackPackageMakerGenerator::Initialize(const char* name, cmMakefile* mf) +int cmCPackPackageMakerGenerator::InitializeInternal() { - int res = this->Superclass::Initialize(name, mf); - if ( !res ) - { - return res; - } cmCPackLogger(cmCPackLog::LOG_DEBUG, "cmCPackPackageMakerGenerator::Initialize()" << std::endl); std::vector<std::string> path; @@ -228,7 +223,7 @@ int cmCPackPackageMakerGenerator::Initialize(const char* name, cmMakefile* mf) } this->SetOption("CPACK_INSTALLER_PROGRAM_DISK_IMAGE", pkgPath.c_str()); - return res; + return this->Superclass::InitializeInternal(); } //---------------------------------------------------------------------- |