summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2011-12-06 17:48:01 +0100
committerJean Delvare <jdelvare@suse.de>2011-12-06 17:48:01 +0100
commiteccbe8d7db4dfcbcd6a5c3f7c1949c9681f3faf0 (patch)
tree1184a2818f1700215063697435befa2a9eb5759d /Makefile.in
parentc03ee9b41af2c38707283caaaf825cec0525b1e5 (diff)
downloadquilt-eccbe8d7db4dfcbcd6a5c3f7c1949c9681f3faf0.tar.gz
Man page: substitute documentation directory name in path to PDF documentation
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
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" \
;; \