PGXS does not properly uninstall documentation

From: "Karl O(dot) Pinc" <kop(at)karlpinc(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: PGXS does not properly uninstall documentation
Date: 2025-05-15 17:25:59
Message-ID: 20250515122559.067c4ee0@slate.karlpinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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(at)karlpinc(dot)com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

Attachment Content-Type Size
pgxs_doc_bug application/octet-stream 459 bytes

Browse pgsql-bugs by date

  From Date Subject
Next Message Nathan Bossart 2025-05-15 18:12:41 Re: BUG #18923: pg_dump 18beta1 fails to process complex table names
Previous Message Sajith Prabhakar Shetty 2025-05-15 16:21:10 Re: Postgres: Queries are too slow after upgrading to PG17 from PG15