On 08.11.2012 18:24, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <[email protected]>
>
> This commit adds the generation of osinfo_enum_types.[ch] using
> glib-mkenums. These files will register the various enums that will get
> added to osinfo header files with glib.
>
> Commit message shamelessly stolen from a similar commit to libvirt-glib
> by Christophe Fergeau <[email protected]>.
> ---
> configure.ac | 3 +++
> osinfo/Makefile.am | 16 ++++++++++++++--
> osinfo/libosinfo.syms | 8 ++++++++
> osinfo/osinfo.h | 3 +++
> osinfo/osinfo_enum_types.c.template | 36 ++++++++++++++++++++++++++++++++++++
> osinfo/osinfo_enum_types.h.template | 24 ++++++++++++++++++++++++
> 6 files changed, 88 insertions(+), 2 deletions(-)
> create mode 100644 osinfo/osinfo_enum_types.c.template
> create mode 100644 osinfo/osinfo_enum_types.h.template
ACK if you squash this in:
diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am
index 922cf2a..0660496 100644
--- a/osinfo/Makefile.am
+++ b/osinfo/Makefile.am
@@ -4,7 +4,7 @@ EXTRA_DIST = libosinfo.syms \
osinfo_enum_types.c.template
BUILT_SOURCES = osinfo_enum_types.c \
- osinfo_enum_types.h
+ osinfo_enum_types.h
if USE_VERSION_DEFS
LIBOSINFO_VERSION_FILE = $(builddir)/libosinfo.def
_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list