summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2010-07-28 16:24:20 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2010-07-28 16:24:20 (GMT)
commitded3a1585b5a7848df6f6e8e3cf2133aa99719a5 (patch)
tree0fef0591e8360859299ab595b10a40b446a93d3f /Source
parent1d986234435afb113cc07fefe0d5002b198d0534 (diff)
downloadCMake-ded3a1585b5a7848df6f6e8e3cf2133aa99719a5.zip
CMake-ded3a1585b5a7848df6f6e8e3cf2133aa99719a5.tar.gz
CMake-ded3a1585b5a7848df6f6e8e3cf2133aa99719a5.tar.bz2
CPackDeb optionally generates auto-dependency list part fix of bug 10292
The default behavior is not to activate this option because it may break DEB package building for project who does not use INSTALL RPATH.
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index cee24ef..0d95721 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");