From nobody Mon May 6 23:02:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1596614880; cv=none; d=zohomail.com; s=zohoarc; b=AihZ6KcdoL/N5FMpJ3ZgTz8p1DP4NNrIhhhSRBGUpL46cdP4R/PUxxCOdEjMUqhKwN5H5bPn/UF0Qm6BCSrW8N8STZA04iR92W0xOFOOeSyiYusRnJkrLCRKR6/HzBjM6ewmx49SFn5kJQLX90cRgif/iciuA+SlgSmyXJB4t5c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596614880; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=rYOyCYyloNPztSZs5YrIFWxsLmKA+6YoTjO7fuWl8HA=; b=eRcfazT6YuNn4K2wj+mW1x37nzlO0UTBrUmmWUcJVpIoM6M25hS5lUA0XO8ISx6/qHMhYUH3aq6KqWIIPWR2U5Z+opGYIsgOiP642pEmPIwKAXUZYf1avGdl/thxOEb9o23DvfTyYPOvuSTLPfwUVZw+SEOmwrCCmyW5p/9s3HU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1596614880530964.1404228476503; Wed, 5 Aug 2020 01:08:00 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-205-KEiF4xjtOMGQkzX3_1OlBQ-1; Wed, 05 Aug 2020 04:07:57 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 43ADD80BCB5; Wed, 5 Aug 2020 08:07:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F12685C5B7; Wed, 5 Aug 2020 08:07:50 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 284609690D; Wed, 5 Aug 2020 08:07:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 07587nQW011889 for ; Wed, 5 Aug 2020 04:07:49 -0400 Received: by smtp.corp.redhat.com (Postfix) id 298A7380; Wed, 5 Aug 2020 08:07:49 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.192.28]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9994A19C4F for ; Wed, 5 Aug 2020 08:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596614879; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=rYOyCYyloNPztSZs5YrIFWxsLmKA+6YoTjO7fuWl8HA=; b=R48myfTsqLDEz33XzeKXo+dDzaTytw+1KOcJOxIimabvhOUXjkJcxIrxys/sQcas0K837s fjMOMs7D9YO3u3eqaxvToSzV5zuOrYxzdqEs+E8KO3ntiXU3O+KFSCZWsEdvCIbZ1Hb8Lz MzMq4MIekhm2BRDG/EHwGNOyuX+lgEQ= X-MC-Unique: KEiF4xjtOMGQkzX3_1OlBQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH] docs/manpages/meson: fix sanlock detection Date: Wed, 5 Aug 2020 10:07:44 +0200 Message-Id: <3286e860b0bf12ff37c62092b78c0810fec25a08.1596614854.git.phrdina@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" In meson.build we define sanlock_dep only if it is available but in addition we add 'WITH_SANLOCK' into conf. Use the presence of 'WITH_SANLOCK' in conf to figure out if we need to install virt-sanlock-cleanup man page. Reported-by: Michal Privoznik Signed-off-by: Pavel Hrdina Reviewed-by: Erik Skultety --- docs/manpages/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manpages/meson.build b/docs/manpages/meson.build index 97133adf3a..8295e9e5ea 100644 --- a/docs/manpages/meson.build +++ b/docs/manpages/meson.build @@ -17,7 +17,7 @@ docs_man_files =3D [ { 'name': 'virt-xml-validate', 'section': '1', 'install': true }, =20 { 'name': 'libvirtd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD= ') }, - { 'name': 'virt-sanlock-cleanup', 'section': '8', 'install': sanlock_dep= .found() }, + { 'name': 'virt-sanlock-cleanup', 'section': '8', 'install': conf.has('W= ITH_SANLOCK') }, { 'name': 'virtlockd', 'section': '8', 'install': conf.has('WITH_LIBVIRT= D') }, { 'name': 'virtlogd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD= ') }, ] --=20 2.26.2