Uh oh!
There was an error while loading. Please reload this page.
Update constants for systemd 258 - #157
Conversation
Uh oh!
There was an error while loading. Please reload this page.
behrmann
left a comment
There was a problem hiding this comment.
Thanks! Changing the sed stuff to Python makes it a lot more readable.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| include_dir = libsystemd_dep.get_variable(pkgconfig: 'includedir') | ||
| update_constants = custom_target( |
There was a problem hiding this comment.
Having bashed my head against meson for a bit now, shouldn't this be a run_target instead?
There was a problem hiding this comment.
Dunno. I copied from the systemd config, update-man-rules target.
$ ninja -C build update-constants -v ninja: Entering directory `build' [1/1] /home/zbyszek/src/python-systemd/update-constants.py /home/zbyszek/src/python-systemd/src/systemd/id128-constants.h /home/zbyszek/src/python-systemd/docs/id128.rst /home/zbyszek/src/python-systemd/src/systemd/id128-defines.h /usr/include/systemd/sd-messages.h Writing /home/zbyszek/src/python-systemd/src/systemd/id128-constants.h… Writing /home/zbyszek/src/python-systemd/src/systemd/id128-defines.h… Writing /home/zbyszek/src/python-systemd/docs/id128.rst… The helper is updated to do the everything in the python script. The wrapper in Makefile is dropped. It wasn't working properly anyway, and I think the version in meson is enough.
The previous commit changes the sorting algorithm, so a few lines moved up or down a bit.
d8fbc3f to
1e29ed1Comparekeszybz
commented
Oct 14, 2025
Uh oh!
There was an error while loading. Please reload this page.
No description provided.