conf.set_quoted('PROJECT_URL', 'https://systemd.io/')
conf.set('PROJECT_VERSION', project_major_version,
description : 'Numerical project version (used where a simple number is expected)')
+conf.set_quoted('PROJECT_VERSION_STR', project_major_version,
+ description: 'Stringified project version (used where a simple string is expected)')
conf.set_quoted('PROJECT_VERSION_FULL', meson.project_version(), description : 'Full project version')
relative_source_path = run_command('realpath',
int udev_ctrl_send(UdevCtrl *uctrl, UdevCtrlMessageType type, const void *data) {
UdevCtrlMessageWire ctrl_msg_wire = {
- .version = "udev-" STRINGIFY(PROJECT_VERSION),
+ .version = "udev-" PROJECT_VERSION_STR,
.magic = UDEV_CTRL_MAGIC,
.type = type,
};
static inline int print_version(void) {
/* Dracut relies on the version being a single integer */
- puts(STRINGIFY(PROJECT_VERSION));
+ puts(PROJECT_VERSION_STR);
return 0;
}