[Libosinfo] [osinfo-db-tools PATCH 4/8] prepare-release: Adapt to use meson

Daniel P. Berrangé berrange at redhat.com
Thu Jun 20 17:08:16 UTC 2019


On Thu, Jun 20, 2019 at 05:21:23PM +0200, Fabiano Fidêncio wrote:
> Let's adapt the prepare-release script to use meson build system instead
> of autotools.
> 
> This change has been tested and is working fine on Fedora 30+.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
>  prepare-release.sh | 83 ++++++++++++++--------------------------------
>  1 file changed, 25 insertions(+), 58 deletions(-)
> 
> diff --git a/prepare-release.sh b/prepare-release.sh
> index 731b4e4..ea67322 100755
> --- a/prepare-release.sh
> +++ b/prepare-release.sh
> @@ -7,90 +7,57 @@ test -n "$1" && RESULTS=$1 || RESULTS=results.log
>  INSTALL_ROOT=$HOME/builder
>  
>  # Make things clean.
> -test -f Makefile && make -k distclean || :
> +git clean -xfd || :

No, no, no ! Don't purge my git checkout. We merely need
delete the build dir as is done in the line below

>  
> -rm -rf build
> -mkdir build
> -cd build
> +meson build --prefix=$INSTALL_ROOT --werror
>  

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the Libosinfo mailing list