forked from pool/quilt
042e227ea0
substitute-docdir-in-man-page.patch and change-docdir-definition.patch. Upstream solution for the same problem. OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=41
52 lines
1.7 KiB
Diff
52 lines
1.7 KiB
Diff
From eccbe8d7db4dfcbcd6a5c3f7c1949c9681f3faf0 Mon Sep 17 00:00:00 2001
|
|
From: Jean Delvare <jdelvare@suse.de>
|
|
Date: Tue, 06 Dec 2011 16:48:01 +0000
|
|
Subject: Man page: substitute documentation directory name in path to PDF documentation
|
|
|
|
---
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index bdf015d..2ddea7e 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -211,6 +211,10 @@ doc/quilt.1: doc/quilt.1.in $(QUILT:%=quilt/%) $(COMPAT)
|
|
-e $$'s/^ \\(-[^\t]*\\)\t\\?/.IP " \\1" 8\\\n/' \
|
|
-e $$'s/^ \t\\?//' \
|
|
;; \
|
|
+ *@DOCSUBDIR@*) \
|
|
+ echo "$$line" | \
|
|
+ $(SED) -e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g' \
|
|
+ ;; \
|
|
*) \
|
|
echo "$$line" \
|
|
;; \
|
|
diff --git a/doc/quilt.1.in b/doc/quilt.1.in
|
|
index 1c1dcc2..db91b14 100644
|
|
--- a/doc/quilt.1.in
|
|
+++ b/doc/quilt.1.in
|
|
@@ -224,7 +224,7 @@ the pdf documentation, and in the help messages of each commands.
|
|
|
|
.SH SEE ALSO
|
|
|
|
-The pdf documentation, which should be under /usr/share/doc/quilt/quilt.pdf.
|
|
+The pdf documentation, which should be under @DOCSUBDIR@/quilt.pdf.
|
|
Note that some distributors compress this file.
|
|
.BR zxpdf ( 1 )
|
|
can be used to display compressed pdf files.
|
|
diff --git a/quilt.changes b/quilt.changes
|
|
index 24d2ef7..2054e1f 100644
|
|
--- a/quilt.changes
|
|
+++ b/quilt.changes
|
|
@@ -1,4 +1,10 @@
|
|
-------------------------------------------------------------------
|
|
+Tue Dec 6 17:44:55 CET 2011 - jdelvare@suse.de
|
|
+
|
|
+- Makefile.in, doc/quilt.1.in: Substitute documentation directory
|
|
+ name in path to PDF documentation.
|
|
+
|
|
+-------------------------------------------------------------------
|
|
Mon Dec 5 22:00:00 CET 2011 - jdelvare@suse.de
|
|
|
|
- configure*: Bump version to 0.50.
|
|
--
|
|
cgit v0.9.0.2
|