[cmake-commits] alex committed cmCPackDebGenerator.cxx 1.15 1.16

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 25 13:26:56 EDT 2007


Update of /cvsroot/CMake/CMake/Source/CPack
In directory public:/mounts/ram/cvs-serv22072/Source/CPack

Modified Files:
	cmCPackDebGenerator.cxx 
Log Message:
BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables
to make them actually work

Alex


Index: cmCPackDebGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CPack/cmCPackDebGenerator.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cmCPackDebGenerator.cxx	21 Sep 2007 17:37:30 -0000	1.15
+++ cmCPackDebGenerator.cxx	25 Oct 2007 17:26:54 -0000	1.16
@@ -67,19 +67,25 @@
 
   // 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());



More information about the Cmake-commits mailing list