[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [libvirt-glib] enums: fix incorrect prefix strip



GVIR_TYPE_VIR_FOO -> GVIR_TYPE_FOO
---
 libvirt-gobject/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libvirt-gobject/Makefile.am b/libvirt-gobject/Makefile.am
index 9430d40..8147db2 100644
--- a/libvirt-gobject/Makefile.am
+++ b/libvirt-gobject/Makefile.am
@@ -88,7 +88,7 @@ libvirt-gobject-enums.h: libvirt-gobject-domain.h libvirt-gobject-connection.h
                         --ftail "#endif /* __LIBVIRT_GOBJECT_ENUMS_H__ */\n" \
                         --eprod "#define GVIR_TYPE_ ENUMSHORT@ @enum_name _get_type()\n" \
                         --eprod "GType @enum_name _get_type (void);\n" \
-                $^ | sed -e 's/g_vir/gvir/g' > $@
+                $^ | sed -e 's/g_vir/gvir/g' | sed -e 's/_VIR_/_/g' > $@
 
 BUILT_SOURCES = libvirt-gobject-enums.c libvirt-gobject-enums.h
 
-- 
1.7.6.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]