PGXS does not properly uninstall documentation

Started by Karl O. Pinc11 months ago3 messagesbugs
Jump to latest
#1Karl O. Pinc
kop@karlpinc.com

Hi,

When using PGXS, putting a pathname, as opposed to
just a file name, into DOCS means that file won't
uninstall.

When installing documentation via the DOCS variable,
the Makefile runs `install`, which installs a single
file into a directory somewhere, regardless of the
source path. But the source path is what's in DOCS,
so when uninstalling the Makefile must strip the
directory part from what's in DOCS when deleting the file.

Makefile patch attached.

Regards,

Karl <kop@karlpinc.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

Attachments:

pgxs_doc_bugapplication/octet-stream; name=pgxs_doc_bugDownload+1-1
#2Karl O. Pinc
kop@karlpinc.com
In reply to: Karl O. Pinc (#1)
Re: PGXS does not properly uninstall documentation

On Thu, 15 May 2025 12:25:59 -0500
"Karl O. Pinc" <kop@karlpinc.com> wrote:

When using PGXS, putting a pathname, as opposed to
just a file name, into DOCS means that file won't
uninstall.

There's been no response. Should I re-submit
this using the bug reporting form?

Thanks.

Regards,

Karl <kop@karlpinc.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Karl O. Pinc (#2)
Re: PGXS does not properly uninstall documentation

"Karl O. Pinc" <kop@karlpinc.com> writes:

There's been no response. Should I re-submit
this using the bug reporting form?

No, that won't do anything new, just send email to pgsql-bugs
which you already did. You could add the patch to the current
CF if you want to be sure it's not forgotten.

regards, tom lane