]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
meson: define PROJECT_VERSION as the "bare" project version
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 19 Dec 2018 10:23:42 +0000 (11:23 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 20 Dec 2018 20:35:29 +0000 (21:35 +0100)
commita67c318df8800ba98d7361308937ed276dc73982
tree5fd45225350cf5974714ea0c6cba4c9aecdfcdfd
parentd2aaf130991149055f2f9b606d0b52d673d75cfd
meson: define PROJECT_VERSION as the "bare" project version

Let's not use atoi() if we can simply provide the project version as a number.

In C code, this is the numerical project version. In substitutions in other
files, this is just the bare substitution.

The "PACKAGE_" prefix is from autotools, and is strange. We call systemd a
"project", and "package" is something that distros build. Let's rename.

PACKAGE_URL is renamed to PROJECT_URL for the same reasons and for consistency.

(This leave PACKAGE_VERSION as the stringified define for C code.)
meson.build
src/core/systemd.pc.in
src/libsystemd/libsystemd.pc.in
src/libsystemd/sd-hwdb/hwdb-util.c
src/libudev/libudev.pc.in
src/test/test-path-util.c
src/udev/udev.pc.in