File: non-generic-docname.patch

package info (click to toggle)
postgresql-q3c 2.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,548 kB
  • sloc: sql: 27,430; ansic: 3,908; python: 110; perl: 104; makefile: 101; sh: 17
file content (25 lines) | stat: -rw-r--r-- 858 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 44a34187ab3ecd1a49b818a7d61f707e666007c7 Mon Sep 17 00:00:00 2001
From: Christoph Berg <myon@debian.org>
Date: Wed, 19 Jun 2024 14:50:39 +0200
Subject: [PATCH] Install docs to non-generic name

Previously, README.md was installed to .../doc/extension/README.md which
conflicts with other extensions doing the same mistake. Fix by adding a
symlink q3c.md and using that in DOCS. Keep the original README.md name
to please GitHub.

Debian Bug: https://bugs.debian.org/1073800

diff --git a/Makefile b/Makefile
index 11b3ab2..fbbd1bb 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ EXTVERSION := $(shell grep default_version $(EXTENSION).control | \
 		 sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/")
 
 
-DOCS = README.md
+DOCS = q3c.md
 OBJS = dump.o q3c.o q3c_poly.o q3cube.o
 MODULE_big = q3c
 DATA = $(wildcard scripts/*sql)