pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karl O. Pinc <kop@karlpinc.com>
To: pgsql-bugs@lists.postgresql.org
Subject: PGXS does not properly uninstall documentation
Date: Thu, 15 May 2025 12:25:59 -0500
Message-ID: <20250515122559.067c4ee0@slate.karlpinc.com> (raw)

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:

  [application/octet-stream] pgxs_doc_bug (459B, ../20250515122559.067c4ee0@slate.karlpinc.com/2-pgxs_doc_bug)
  download

view thread (3+ messages)  latest in thread

Message-ID: <20250515122559.067c4ee0@slate.karlpinc.com>
Permalink:  ../20250515122559.067c4ee0@slate.karlpinc.com/
Also on:    postgresql.org/message-id/20250515122559.067c4ee0@slate.karlpinc.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: kop@karlpinc.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: PGXS does not properly uninstall documentation
  In-Reply-To: <20250515122559.067c4ee0@slate.karlpinc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox