PGXS does not properly uninstall documentation
Karl O. Pinc <kop@karlpinc.com>
From: "Karl O. Pinc" <kop@karlpinc.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2025-05-15T17:25:59Z
Lists: pgsql-bugs
Attachments
- pgxs_doc_bug (application/octet-stream)
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