On Wed, Mar 06, 2013 at 10:28:34PM +0100, Sebastian Geerken wrote:
On Wed, Mar 06, Johannes Hofmann wrote:
On Tue, Mar 05, 2013 at 11:35:02PM +0100, Sebastian Geerken wrote:
"man dillo" shows
In order to use the hyphenation feature, pattern files from CTAN need to be installed to ${prefix}/lib/dillo/hyphenation/. This can be done with the script install-hyphenation. Call it with ISO-639-1 language codes as arguments, or without arguments to get more help.
"${prefix}" should be replaced here.
Yes. Does someone know how this is best done with automake?
Move doc/dillo.1 to doc/dillo.1.in and add this to doc/Makefile.am:
diff -r f37ab8cb8930 doc/Makefile.am --- a/doc/Makefile.am Tue Mar 05 19:47:09 2013 +0100 +++ b/doc/Makefile.am Wed Mar 06 22:24:33 2013 +0100 @@ -39,3 +39,6 @@ Selection.txt \ Dpid.txt \ README + +dillo.1: + sed 's%.{prefix}%${prefix}%g' < dillo.1.in > dillo.1
This replaces ${prefix} by the actual value. I could not get the "$" into the sed expression (therefore the "."), so this is not perfect.
Thanks, I pushed it. Johannes