diff options
author | Brad King <brad.king@kitware.com> | 2010-08-03 20:12:37 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-08-03 20:12:37 (GMT) |
commit | 1820a05cb253892eb1326c48a6a6373df3694844 (patch) | |
tree | d9c779eb0bd581c721a21d120d8bd478cb5b176d /Source/CPack/cmCPackDebGenerator.cxx | |
parent | d00d71e6cf3ed5f2e24e4351e141b04212cca903 (diff) | |
parent | ded3a1585b5a7848df6f6e8e3cf2133aa99719a5 (diff) | |
download | CMake-1820a05cb253892eb1326c48a6a6373df3694844.zip CMake-1820a05cb253892eb1326c48a6a6373df3694844.tar.gz CMake-1820a05cb253892eb1326c48a6a6373df3694844.tar.bz2 |
Merge topic 'CPackDEB-auto-dependency-support'
ded3a15 CPackDeb optionally generates auto-dependency list part fix of bug 10292
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index 5c09d31..a8fed1d 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -87,10 +87,12 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName, // optional entries const char* debian_pkg_dep = this->GetOption("CPACK_DEBIAN_PACKAGE_DEPENDS"); - const char* debian_pkg_rec = + const char* debian_pkg_rec = this->GetOption("CPACK_DEBIAN_PACKAGE_RECOMMENDS"); - const char* debian_pkg_sug = + const char* debian_pkg_sug = this->GetOption("CPACK_DEBIAN_PACKAGE_SUGGESTS"); + const char* debian_pkg_url = + this->GetOption("CPACK_DEBIAN_PACKAGE_HOMEPAGE"); { // the scope is needed for cmGeneratedFileStream cmGeneratedFileStream out(ctlfilename.c_str()); @@ -111,6 +113,10 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName, { out << "Suggests: " << debian_pkg_sug << "\n"; } + if(debian_pkg_url) + { + out << "Homepage: " << debian_pkg_url << "\n"; + } unsigned long totalSize = 0; { std::string dirName = this->GetOption("CPACK_TEMPORARY_DIRECTORY"); |