[cmake-commits] alex committed cmCPackDebGenerator.cxx 1.9 1.10
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Aug 14 10:25:25 EDT 2007
Update of /cvsroot/CMake/CMake/Source/CPack
In directory public:/mounts/ram/cvs-serv28093
Modified Files:
cmCPackDebGenerator.cxx
Log Message:
STYLE: another patch from Mathieu with some comments
Alex
Index: cmCPackDebGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CPack/cmCPackDebGenerator.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cmCPackDebGenerator.cxx 14 Aug 2007 12:40:40 -0000 1.9
+++ cmCPackDebGenerator.cxx 14 Aug 2007 14:25:23 -0000 1.10
@@ -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 @@
}
out << "Maintainer: " << maintainer << "\n";
out << "Description: " << desc << "\n";
- out << " " << debian_pkg_name << " was packaged by CMake.\n";
out << std::endl;
}
More information about the Cmake-commits
mailing list