Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phYS9-0004Tl-3E for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Mar 2023 16:15:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1phYS8-0008M2-21 for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Mar 2023 16:15:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phYS7-0008Lt-NS for pgsql-hackers@lists.postgresql.org; Wed, 29 Mar 2023 16:15:11 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phYS4-00066H-Ki for pgsql-hackers@postgresql.org; Wed, 29 Mar 2023 16:15:11 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id AA5FE5821B1; Wed, 29 Mar 2023 12:15:04 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 29 Mar 2023 12:15:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1680106504; x= 1680113704; bh=CNGhjL6zaRU88JgAS344wZY5MHM0ZbLFmAaXoLH46zQ=; b=Z 38NFifHiWTqGtsGb5Tioymt6aTOSHB4X+9GN+jtiiye3GQYFb7wVgLLBwT4QUlQR 2xetmKL/QrYlZi7uztc9l1RSByUfJlqAvcdZo5b1+ThUqXbT/dU+0dMkGZJ45INe ZxrJuvoy4gE4O5cV+W49LiD3D21gf90k73EaQsi2jA+5KETSWzylrCW/Qd93J/ze X5mQbbMi50OHeu1ZcKvDu90oQwMZeCDVcQewkdxEJWCmSFrRuRe21I3wVzEFWgiv 1XdtChVOp8yyu6dA2ES7t/o76iT1zvlllTmQqsdZfs2DAMtlyLUMZSzVmZCQr46+ cbFjceKF3Zfg5AFR5gL0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehiedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeefjeegheetuefhveev udelueeftdejteeiffetvdduhfdtieefgfeutedtveeggfenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Mar 2023 12:15:03 -0400 (EDT) Message-ID: <245481bd-95a5-4967-4580-e4a8105ad991@enterprisedb.com> Date: Wed, 29 Mar 2023 18:15:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: what should install-world do when docs are not available? Content-Language: en-US To: Andres Freund , pgsql-hackers@postgresql.org, Justin Pryzby References: <20230325201414.sh7c6xlut2fpunnv@awork3.anarazel.de> From: Peter Eisentraut In-Reply-To: <20230325201414.sh7c6xlut2fpunnv@awork3.anarazel.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 25.03.23 21:14, Andres Freund wrote: > I wonder if, for meson, the best behaviour would be to make 'docs' a feature > set to auto. If docs set to enabled, and the necessary tools are not > available, fail at that time, instead of doing so while building. Makes sense to me. > If that's what we decide to do, perhaps "docs" should be split further? The > dependencies for pdf generation are a lot more heavyweight. I think "docs" should be html and man, because that's what gets installed. pdf and other things can just be an ad hoc build target and doesn't need install support.