Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhcqE-0008Vi-ND for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Jul 2018 15:33:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhcqD-0003E7-12 for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Jul 2018 15:33:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhcqC-0003E0-QF for pgsql-hackers@lists.postgresql.org; Mon, 23 Jul 2018 15:33:40 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhcq9-0004Mh-TS for pgsql-hackers@postgresql.org; Mon, 23 Jul 2018 15:33:40 +0000 Received: from [192.168.127.1] (port=32778 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1fhcq5-000BRH-H8; Mon, 23 Jul 2018 15:33:33 +0000 Received: from [127.0.0.1] (port=10628 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1fhcq4-0000lk-OL; Mon, 23 Jul 2018 15:33:32 +0000 From: Andrew Gierth To: Peter Eisentraut Cc: Tom Lane , Michael Paquier , Stephen Frost , pgsql-hackers@postgresql.org, Andres Freund Subject: Re: Should contrib modules install .h files? In-Reply-To: (Peter Eisentraut's message of "Mon, 23 Jul 2018 17:22:16 +0200") Message-ID: <87va96gek3.fsf@news-spur.riddles.org.uk> References: <87y3euomjh.fsf@news-spur.riddles.org.uk> <87tvpinfr4.fsf@news-spur.riddles.org.uk> <63444.1530537990@sss.pgh.pa.us> <12ba9c72-504f-b911-f0ce-1dff2826fa5b@2ndquadrant.com> <87k1q8kokq.fsf@news-spur.riddles.org.uk> <20180723014208.GE27724@tamriel.snowman.net> <20180723032405.GF2854@paquier.xyz> <21149.1532319353@sss.pgh.pa.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Mon, 23 Jul 2018 16:33:31 +0100 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Peter" == Peter Eisentraut writes: Peter> Nobody said anything about one-file-per-extension. You can of Peter> course have hstore_this.h and hstore_that.h or if you want to Peter> have many, use postgis/this.h and postgis/that.h. So now you want the extension to be able to _optionally_ specify a subdirectory? (just having the extension do HEADERS=foo/bar.h will not work, because as with every other similar makefile variable, that means "install the file foo/bar.h as bar.h, not as foo/bar.h".) -- Andrew (irc:RhodiumToad)