Re: Add subdirectory support for DATA/DOCS with PGXS
От | Mark Cave-Ayland |
---|---|
Тема | Re: Add subdirectory support for DATA/DOCS with PGXS |
Дата | |
Msg-id | 4B3B6D53.4080907@siriusit.co.uk обсуждение исходный текст |
Ответ на | Re: Add subdirectory support for DATA/DOCS with PGXS (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: Add subdirectory support for DATA/DOCS with PGXS
|
Список | pgsql-hackers |
Alvaro Herrera wrote: >> The attached patch is a prototype which allows the user to specify a >> new MODULEDIR variable in a module makefile which, if specified, >> will install DATA and DOCS items in contrib/$(MODULEDIR) rather than >> just contrib. If MODULEDIR is left unspecified, the files will >> simply be stored directly in contrib/ as before. > > As a proof of its usefulness, you could remove DATA_TSEARCH and replace > it with usage of MODULEDIR, right? Not in its current form because PGXS always places files underneath a contrib/ subdirectory within datadir. However, if people are happier with this approach then it shouldn't be too hard to alter things so that my PGXS Makefile would look like this: MODULE_big=postgis-1.5 MODULEDIR=contrib/$(MODULE_big) Once in this form it should then be possible to use this code to replace the DATA_TSEARCH variable that is currently in place. ATB, Mark. -- Mark Cave-Ayland - Senior Technical Architect PostgreSQL - PostGIS Sirius Corporation plc - control through freedom http://www.siriusit.co.uk t: +44 870 608 0063 Sirius Labs: http://www.siriusit.co.uk/labs
В списке pgsql-hackers по дате отправления: