summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDebGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-10-25 17:26:54 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-10-25 17:26:54 (GMT)
commit2d1bcf806f5a0bbff1b13953f38ec5ab79fcd0e1 (patch)
treea4850eee33c1e4074b201f545a5a82c74ada61c6 /Source/CPack/cmCPackDebGenerator.cxx
parentfec600550ee7fcea6985fcf32145e5756a9f1917 (diff)
downloadCMake-2d1bcf806f5a0bbff1b13953f38ec5ab79fcd0e1.zip
CMake-2d1bcf806f5a0bbff1b13953f38ec5ab79fcd0e1.tar.gz
CMake-2d1bcf806f5a0bbff1b13953f38ec5ab79fcd0e1.tar.bz2
BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables
to make them actually work Alex
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx28
1 files changed, 17 insertions, 11 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index 9a0be43..88a4e25 100644
--- a/Source/CPack/cmCPackDebGenerator.cxx
+++ b/Source/CPack/cmCPackDebGenerator.cxx
@@ -67,19 +67,25 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName,
// debian policy enforce lower case for package name
// mandatory entries:
- std::string debian_pkg_name =
- cmsys::SystemTools::LowerCase( this->GetOption("DEBIAN_PACKAGE_NAME") );
- const char* debian_pkg_version = this->GetOption("DEBIAN_PACKAGE_VERSION");
- const char* debian_pkg_section = this->GetOption("DEBIAN_PACKAGE_SECTION");
- const char* debian_pkg_priority = this->GetOption("DEBIAN_PACKAGE_PRIORITY");
- const char* debian_pkg_arch = this->GetOption("DEBIAN_PACKAGE_ARCHITECTURE");
- const char* maintainer = this->GetOption("DEBIAN_PACKAGE_MAINTAINER");
- const char* desc = this->GetOption("DEBIAN_PACKAGE_DESCRIPTION");
+ std::string debian_pkg_name = cmsys::SystemTools::LowerCase(
+ this->GetOption("CPACK_DEBIAN_PACKAGE_NAME") );
+ const char* debian_pkg_version =
+ this->GetOption("CPACK_DEBIAN_PACKAGE_VERSION");
+ const char* debian_pkg_section =
+ this->GetOption("CPACK_DEBIAN_PACKAGE_SECTION");
+ const char* debian_pkg_priority =
+ this->GetOption("CPACK_DEBIAN_PACKAGE_PRIORITY");
+ const char* debian_pkg_arch =
+ this->GetOption("CPACK_DEBIAN_PACKAGE_ARCHITECTURE");
+ const char* maintainer = this->GetOption("CPACK_DEBIAN_PACKAGE_MAINTAINER");
+ const char* desc = this->GetOption("CPACK_DEBIAN_PACKAGE_DESCRIPTION");
// optional entries
- const char* debian_pkg_dep = this->GetOption("DEBIAN_PACKAGE_DEPENDS");
- const char* debian_pkg_rec = this->GetOption("DEBIAN_PACKAGE_RECOMMENDS");
- const char* debian_pkg_sug = this->GetOption("DEBIAN_PACKAGE_SUGGESTS");
+ const char* debian_pkg_dep = this->GetOption("CPACK_DEBIAN_PACKAGE_DEPENDS");
+ const char* debian_pkg_rec =
+ this->GetOption("CPACK_DEBIAN_PACKAGE_RECOMMENDS");
+ const char* debian_pkg_sug =
+ this->GetOption("CPACK_DEBIAN_PACKAGE_SUGGESTS");
{ // the scope is needed for cmGeneratedFileStream
cmGeneratedFileStream out(ctlfilename.c_str());