]> git.ipfire.org Git - thirdparty/libvirt.git/commit
src: add new target for regenerating protocol structs files
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 13 Mar 2025 15:53:07 +0000 (15:53 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 18 Mar 2025 09:21:20 +0000 (09:21 +0000)
commitacf2f9e1efc923188cc36fb784206b236e1e58ce
treea5f85b89afca868e8e8d5b825bbf0283411b88f5
parentdcd113293746033fda3623ba5904be2e8749b22c
src: add new target for regenerating protocol structs files

Introduce a new ninja target

   ninja -C build regen-{PROTO}

eg

   ninja -C build regen-admin_protocol

that will re-create the reference output file based on what the
current pdwtags command emits. A small change is made to squash
whitespace on enum declarations so that introducing a new longer
enum name doesn't trigger re-indent of all existing enum names.

Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
scripts/check-remote-protocol.py
src/meson.build