diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-14 14:25:23 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-14 14:25:23 (GMT) |
commit | eff7981b5710123fd0ebb8e8c93ab31262429dcb (patch) | |
tree | d0b67f18564fa9bdc1181b9604b7e25a6491305d /Source/CPack | |
parent | 281e08131a48b11ac21a7511f41ac071a24ae43b (diff) | |
download | CMake-eff7981b5710123fd0ebb8e8c93ab31262429dcb.zip CMake-eff7981b5710123fd0ebb8e8c93ab31262429dcb.tar.gz CMake-eff7981b5710123fd0ebb8e8c93ab31262429dcb.tar.bz2 |
STYLE: another patch from Mathieu with some comments
Alex
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index fb799d0..0971b36 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -24,7 +24,12 @@ #include <cmsys/SystemTools.hxx> #include <cmsys/Glob.hxx> - +// NOTE: +// A debian package .deb is simply an 'ar' archive. The only subtle difference +// is that debian uses the BSD ar style archive whereas most Linux distro have +// a GNU ar. +// See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=161593 for more info +// Therefore we provide our own implementation of a BSD-ar: static int ar_append(const char*archive,const std::vector<std::string>& files); //---------------------------------------------------------------------- @@ -97,7 +102,6 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName, } out << "Maintainer: " << maintainer << "\n"; out << "Description: " << desc << "\n"; - out << " " << debian_pkg_name << " was packaged by CMake.\n"; out << std::endl; } |