pgxs_doc_bug

application/octet-stream

Filename: pgxs_doc_bug
Type: application/octet-stream
Part: 0
Message: PGXS does not properly uninstall documentation
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index 0de3737e78..213ff3a242 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -320,7 +320,7 @@ ifeq ($(with_llvm), yes)
 endif # with_llvm
 endif # MODULES
 ifdef DOCS
-	rm -f $(addprefix '$(DESTDIR)$(docdir)/$(docmoduledir)'/, $(DOCS))
+	rm -f $(addprefix '$(DESTDIR)$(docdir)/$(docmoduledir)'/, $(notdir $(DOCS)))
 endif
 ifdef PROGRAM
 	rm -f '$(DESTDIR)$(bindir)/$(PROGRAM)$(X)'