]> git.saurik.com Git - apt.git/commitdiff
CMake: Set PACKAGE_MAIL variable
authorJulian Andres Klode <jak@debian.org>
Sun, 7 Aug 2016 13:45:36 +0000 (15:45 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 10 Aug 2016 14:10:54 +0000 (16:10 +0200)
This is needed in a lot of places. Also adjust config.h.in to use
it instead of the bare email address.

Gbp-Dch: ignore

CMake/config.h.in
CMakeLists.txt

index 7515fc9a68772c3de683cdb4c1e76c1ae584821f..3afd9123c683ca78d3824c6dfc2baef93ab63ba4 100644 (file)
@@ -44,7 +44,7 @@
 #define PACKAGE_VERSION "${PACKAGE_VERSION}"
 
 /* The mail address to reach upstream */
-#define PACKAGE_MAIL "deity@lists.debian.org"
+#define PACKAGE_MAIL "${PACKAGE_MAIL}"
 
 #define APT_8_CLEANER_HEADERS
 #define APT_9_CLEANER_HEADERS
index 44b301cc21976be7e02731138ccb28887043a0ae..6baa8f14f3e8507368ab69c8868008a957dbaaf0 100644 (file)
@@ -108,7 +108,8 @@ if (CMAKE_USE_PTHREADS_INIT)
 endif()
 
 # Configure some variables like package, version and architecture.
-set(PACKAGE "apt")
+set(PACKAGE ${PROJECT_NAME})
+set(PACKAGE_MAIL "APT Development Team <deity@lists.debian.org>")
 
 execute_process(COMMAND dpkg-parsechangelog -SVersion -l${PROJECT_SOURCE_DIR}/debian/changelog
                 OUTPUT_VARIABLE PACKAGE_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)