aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2013-03-06 23:16:00 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2013-03-06 23:16:00 +0100
commitbf8c14fb9204f7ba625819e6a056a00c108bb945 (patch)
tree60cd2c5db1fcc7a531ce41c56b5907d76375a736
parent7eb22421916024f6ebee85473747ebfff6283438 (diff)
replace /usr/local with actual prefix in man page
As suggested in [1] /usr/local in the dillo man page is now replaced by the actual prefix. with-help-from: Sebastian Geerken <sgeerken@dillo.org> [1] http://www.schweikhardt.net/man_page_howto.html
-rw-r--r--.hgignore1
-rw-r--r--doc/Makefile.am3
-rw-r--r--doc/dillo.1.in (renamed from doc/dillo.1)4
3 files changed, 6 insertions, 2 deletions
diff --git a/.hgignore b/.hgignore
index 31fb4221..73f60ebf 100644
--- a/.hgignore
+++ b/.hgignore
@@ -16,6 +16,7 @@
^missing$
(^|/)tags$
^src/dillo$
+^doc/dillo.1$
^dpi/[^/]*\.dpi$
^dpid/dpid$
^dpid/dpidc$
diff --git a/doc/Makefile.am b/doc/Makefile.am
index d644393b..e3f3bad2 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -39,3 +39,6 @@ EXTRA_DIST = \
Selection.txt \
Dpid.txt \
README
+
+dillo.1: dillo.1.in Makefile
+ sed 's%/usr/local%${prefix}%g' < dillo.1.in > dillo.1
diff --git a/doc/dillo.1 b/doc/dillo.1.in
index c546d6d7..7f4ffc1c 100644
--- a/doc/dillo.1
+++ b/doc/dillo.1.in
@@ -25,7 +25,7 @@ no support for javascript or video.
.PP
In order to use the hyphenation feature, pattern files from CTAN need to
be installed to
-.IR ${prefix}/lib/dillo/hyphenation/ .
+.IR /usr/local/lib/dillo/hyphenation/ .
This can be done with the script
.IR install-hyphenation .
Call it with ISO-639-1 language codes as arguments, or without arguments
@@ -107,7 +107,7 @@ Keybindings.
.I ~/.dillo/style.css
User style sheet.
.TP
-.I ${prefix}/lib/dillo/hyphenation/
+.I /usr/local/lib/dillo/hyphenation/
Hyphenation pattern files.
.SH SEE ALSO
.BR wget (1)