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

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

 



On Sat, Oct 01, 2011 at 02:32:55PM +0200, Marc-André Lureau wrote:
> 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
>  

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]