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.
|