From nobody Tue Feb 10 10:03:27 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1556882991; cv=none; d=zoho.com; s=zohoarc; b=X9U2+ec/VUWXDzaYH8IdqKckBxqF+4kqix8dShC2h9OboyBM3GP/98V27QvbFk381zPbnGOgm5a2TXz9740zVziA/D4qlVU6Yt2TL16g5eU0EnasHhkR2xV0nSOgKQbzGWwyg8e8joXdz54B4R0Jl0rtusw3M6dy0oCLK0x79PI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556882991; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=EyFxv6MktR+0J/f1CQ4qUvhledY+W+hlpGzowYF2CaQ=; b=cl1qBZ1rb41TMImDhYgPmxww4mnkndzxjfpE7WLaK2+/ZH8BFoufcXKgz5EBxw4n9bM1MX6UO+dHHHsLJ4+tG05lbanNy9po0p7l0E6zjszFpkK5IkwcQCHkpCShYQ2kMLdOo8jG8ey+wKsRVlxKbTFwL7oW2zncl2kwWT5O84k= ARC-Authentication-Results: i=1; mx.zoho.com; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1556882991319386.140412219847; Fri, 3 May 2019 04:29:51 -0700 (PDT) Received: from localhost ([127.0.0.1]:38485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMWNj-0000jA-6K for importer@patchew.org; Fri, 03 May 2019 07:29:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMWEv-0000Vc-6E for qemu-devel@nongnu.org; Fri, 03 May 2019 07:20:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMWEt-0002JA-Rr for qemu-devel@nongnu.org; Fri, 03 May 2019 07:20:29 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:40119) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMWEr-0002FS-8H; Fri, 03 May 2019 07:20:25 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M42b8-1hMWEd42PA-0007cI; Fri, 03 May 2019 13:20:12 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 3 May 2019 13:19:50 +0200 Message-Id: <20190503111958.30825-5-laurent@vivier.eu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190503111958.30825-1-laurent@vivier.eu> References: <20190503111958.30825-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:0z/K3wjAdqIK5oWiNca7+Fj70jexOIzVi0yIWQsEPFFIvbBx7xV +TYQ7Uu6yk81BL12vuMS4CmpXoEsU4gK/nSkjjWB9ojbdwg/p+tFJaVWCZ4x2+m/NY8eAVg 7D9HAVJombX08pAayR+mnMk+8bfxgB/l7O7OhbH9Y1ry2B/11+UV5Ng1gAmpySjNHC8r9VF laQS/mFYCMbMassaqLlyw== X-UI-Out-Filterresults: notjunk:1;V03:K0:mu24ZYJjzy0=:LoByJxiSy4M1VYp2f9joZk eZaOcLxQR+00eVw5TIKKXO3GjEtHnLf0abe+hy7VqvRIvQl1PjhO8EfkILTiFJgtRq4UIGmz1 1e9M/q1URWkt/muEKEPYPiHaRFqTwiNE9RNADQQq7osjOo2twKEg0FyWeaXZIlSDZYnP7gvSv osWJaiuyD6OdtZ4CVqp4Cgq8l7x34/NOVCaj7fA/KZWCdK51Jtcg9mfxPNtkaR8aKXLldCkhS MJRvQ/vkpbAQ/h5j2LkHG4j0zrwfPbcYviEC4ekJ9FWxZy+4uoc20/yOr9Q3HSlp3t0SAvDV5 ySjCIdhDn4x1n8Vw/8+3CYjwkctANnR7O0bMStxDRhYmN+j6Jjey4UNAt/cPABzDffdCgd2ep tV+nL6Gxtzc9xjFwAkUdLvoc/shAbseB74RVwB7fnxD8k0bol93ILylfAEw5JFBLkt2+AaaJs gEfkHWAA/zo9l7evXjgK363NdkX/K+a9dK9GT1oWdWHljAlxMKHovx0mT4dHLv2A0cT0scTji ljiGH2oVPSRlVTjHiM3Qu5XzUwBOZ6LKK1Z0e6T4hqr/J1rkvSBmoTbiLLmEIyTuvBECU5x4B 5PaNrARFWhcpzXyXCbIkB46LBTnCDd91XRIuEPsxdJWdkeNmyoE+ZUi7HMnR5mQOIEx1IIxXf UegS7VIU8w4ogeV4l4v9t1+UQuqqzgQFi9UyC6SuJbvZtOOEUJ+Lge+qqJuC1a4NdkSfsIXxA DrqhOh1df7SxOkAr2Dz3C0eQ35pjLpAmszHGuG2CYpdI+wA1L/UI+Wff+GQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.74 Subject: [Qemu-devel] [PULL v2 04/12] doc: fix the configuration path X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Mark Cave-Ayland , Jason Wang , Michael Tokarev , Laurent Vivier , Fabien Chouteau , Michael Roth , Gerd Hoffmann , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" From: Marc-Andr=C3=A9 Lureau Use a CONFDIR variable to show the configured sysconf path in the generated documentations (html, man pages etc). Related to: https://bugzilla.redhat.com/show_bug.cgi?id=3D1644985 Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20181126105125.30973-1-marcandre.lureau@redhat.com> Signed-off-by: Laurent Vivier --- qemu-ga.texi | 4 ++-- Makefile | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/qemu-ga.texi b/qemu-ga.texi index 4c7a8fd16329..f00ad830f283 100644 --- a/qemu-ga.texi +++ b/qemu-ga.texi @@ -30,7 +30,7 @@ set user's password @end itemize =20 qemu-ga will read a system configuration file on startup (located at -@file{/etc/qemu/qemu-ga.conf} by default), then parse remaining +@file{@value{CONFDIR}/qemu-ga.conf} by default), then parse remaining configuration options on the command line. For the same key, the last option wins, but the lists accumulate (see below for configuration file format). @@ -58,7 +58,7 @@ file format). Enable fsfreeze hook. Accepts an optional argument that specifies script to run on freeze/thaw. Script will be called with 'freeze'/'thaw' arguments accordingly (default is - @samp{/etc/qemu/fsfreeze-hook}). If using -F with an argument, do + @samp{@value{CONFDIR}/fsfreeze-hook}). If using -F with an argument, do not follow -F with a space (for example: @samp{-F/var/run/fsfreezehook.sh}). =20 diff --git a/Makefile b/Makefile index 1211e78c91ed..43a7a047b452 100644 --- a/Makefile +++ b/Makefile @@ -899,11 +899,14 @@ ui/shader.o: $(SRC_PATH)/ui/shader.c \ MAKEINFO=3Dmakeinfo MAKEINFOINCLUDES=3D -I docs -I $( $@,"GEN","$@") +docs/version.texi: $(SRC_PATH)/VERSION config-host.mak + $(call quiet-command,(\ + echo "@set VERSION $(VERSION)" && \ + echo "@set CONFDIR $(qemu_confdir)" \ + )> $@,"GEN","$@") =20 %.html: %.texi docs/version.texi $(call quiet-command,LC_ALL=3DC $(MAKEINFO) $(MAKEINFOFLAGS) --no-headers= \ --=20 2.20.1