[Libguestfs] [PATCH v7 12/13] utils: Rename ‘guestfs-internal-frontend.h’ to ‘guestfs-utils.h’.

Pino Toscano ptoscano at redhat.com
Mon Jun 19 15:56:46 UTC 2017


On Monday, 19 June 2017 15:31:28 CEST Richard W.M. Jones wrote:
> The reason it's not just ‘utils.h’ is because Pino is worried that we
> might pick up /usr/include/utils.h from a rogue library.
> ---
> diff --git a/python/MANIFEST.in b/python/MANIFEST.in
> index 116367d16..69db7e5ce 100644
> --- a/python/MANIFEST.in
> +++ b/python/MANIFEST.in
> @@ -17,8 +17,8 @@
>  
>  include actions.h
>  include c-ctype.h
> +include cleanups.h
>  include config.h
>  include guestfs-internal-all.h
> -include guestfs-internal-frontend-cleanups.h
> -include guestfs-internal-frontend.h
> +include utils.h
>  include ignore-value.h

Not correct name here.

> diff --git a/python/Makefile.am b/python/Makefile.am
> index 7e91bbb7e..a357f36ff 100644
> --- a/python/Makefile.am
> +++ b/python/Makefile.am
> @@ -101,9 +101,9 @@ stamp-extra-files: \
>  	  cleanups.h \
>  	  config.h \
>  	  guestfs-internal-all.h \
> -	  guestfs-internal-frontend.h \
>  	  ignore-value.h \
> -	  utils.c
> +	  utils.c \
> +	  utils.h

Ditto.

> -guestfs-internal-frontend.h:
> -	ln $(top_srcdir)/common/utils/guestfs-internal-frontend.h $@
> +utils.h:
> +	ln $(top_srcdir)/common/utils/utils.h $@

Ditto.

> @@ -152,10 +152,10 @@ CLEANFILES += \
>  	cleanups.c \
>  	cleanups.h \
>  	guestfs-internal-all.h \
> -	guestfs-internal-frontend.h \
>  	ignore-value.h \
>  	stamp-extra-files \
> -	utils.c
> +	utils.c \
> +	utils.h

Ditto.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170619/7cdb5e6a/attachment.sig>


More information about the Libguestfs mailing list