From: Julian Andres Klode Date: Sun, 7 Aug 2016 13:45:36 +0000 (+0200) Subject: CMake: Set PACKAGE_MAIL variable X-Git-Tag: 1.3_rc1~9^2~23 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/33ee08e4dae7851bc3bcbb932a0563c38c933ead CMake: Set PACKAGE_MAIL variable 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 --- diff --git a/CMake/config.h.in b/CMake/config.h.in index 7515fc9a6..3afd9123c 100644 --- a/CMake/config.h.in +++ b/CMake/config.h.in @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 44b301cc2..6baa8f14f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ") execute_process(COMMAND dpkg-parsechangelog -SVersion -l${PROJECT_SOURCE_DIR}/debian/changelog OUTPUT_VARIABLE PACKAGE_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)