[libvirt-glib] enums: fix incorrect prefix strip

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]