From 3ff2e62722ff5a51a32961d97dc028c56e00481f Mon Sep 17 00:00:00 2001 From: kaa Date: Thu, 9 Nov 2023 22:57:12 -0800 Subject: A good copy of libhyphen is included in-tree. Makefile has been modified so as to allow easy compilation. The build path is now a compiled-in constant, allowing for the hyphenation patterns in-tree to be referenced from any directory. Hyphenation language may be specified at runtime using -l. --- config.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 69c5f26..5c2641e 100644 --- a/config.h +++ b/config.h @@ -13,3 +13,11 @@ char *taglist[] = { /* Words containing any of these characters are skipped. */ char *skip = "&/-=~"; + +/* Inherit the directory at compile time. */ +const char *buildpath = BUILD_PATH; +const char *en = "share/hyphen/hyph_en_US.dic"; +const char *es = "ext/es/hyph_es.dic"; +enum { + pathbuf = 512, +}; -- cgit v1.2.3