File: 2001_docdir_fix_for_debian.patch

package info (click to toggle)
ghostscript 10.05.1~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 93,508 kB
  • sloc: ansic: 908,895; python: 7,676; cpp: 6,534; cs: 6,457; sh: 6,168; java: 4,028; perl: 2,373; tcl: 1,639; makefile: 529; awk: 66; yacc: 18
file content (26 lines) | stat: -rw-r--r-- 830 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
26
Description: Set docdir appropriately for Debian
Author: Masayuki Hatta <mhatta@debian.org>
Forwarded: not-needed
Last-Update: 2023-09-13
---
This patch header follows DEP-3: https://dep.debian.net/deps/dep3/
--- a/Makefile.in
+++ b/Makefile.in
@@ -103,7 +103,7 @@
 man1ext = 1
 man1dir = $(mandir)/man$(man1ext)
 datadir = @datadir@
-docdir = @docdir@@VERSIONED_PATH@
+docdir = $(prefix)/share/doc/ghostscript
 
 # The following must be substituted using @datadir@ and @libdir@
 # to avoid adding RPM generation paths (CUPS STR #1112)
@@ -112,7 +112,7 @@
 gssharedir = @libdir@/ghostscript@VERSIONED_PATH@
 gsincludedir = @includedir@/ghostscript/
 
-exdir=$(gsdatadir)/examples
+exdir=$(prefix)/share/doc/ghostscript/examples
 GS_DOCDIR=$(docdir)
 
 # Choose whether to compile the .ps initialization files into the executable.