summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)