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 1pgAgO-0005ul-DC for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Mar 2023 20:40:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pgAgN-0006qM-0q for pgsql-hackers@arkaria.postgresql.org; Sat, 25 Mar 2023 20:40:11 +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 1pgAgM-0006qC-Nb for pgsql-hackers@lists.postgresql.org; Sat, 25 Mar 2023 20:40:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgAgK-0005x1-2G for pgsql-hackers@postgresql.org; Sat, 25 Mar 2023 20:40:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 32PKe3pZ2779990; Sat, 25 Mar 2023 16:40:03 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org, Justin Pryzby Subject: Re: what should install-world do when docs are not available? In-reply-to: <20230325201414.sh7c6xlut2fpunnv@awork3.anarazel.de> References: <20230325201414.sh7c6xlut2fpunnv@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 25 Mar 2023 13:14:14 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2779988.1679776803.1@sss.pgh.pa.us> Date: Sat, 25 Mar 2023 16:40:03 -0400 Message-ID: <2779989.1679776803@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > Right now if one does install-world with autoconf, without having xmllint or > xsltproc available, one gets an error: > ERROR: `xmllint' is missing on your system. > Is that good? Should meson behave the same? Since install-world is defined to install documentation, it should do so or fail trying. Maybe we could skip the xmllint step, but you'd still need xsltproc so I'm not sure that that moves the bar very far. > If that's what we decide to do, perhaps "docs" should be split further? The > dependencies for pdf generation are a lot more heavyweight. Yeah. Personally I think "docs" should just build/install the HTML docs, but maybe I'm too narrow-minded. > We should probably also generate a useful error when the stylesheets aren't > available. Maybe, but we haven't had that in the autoconf case either, and there have not been too many complaints. Not sure it's worth putting extra effort into. regards, tom lane