summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2023-11-09 22:57:12 -0800
committerkaa <kaa@disroot.org>2023-11-09 22:57:12 -0800
commit3ff2e62722ff5a51a32961d97dc028c56e00481f (patch)
tree4a5ccc63c4780be400ef024c7e973365bf51352e /config.h
parent8987d13d3c1a62d2d1db6ecabb29bc76f3529a44 (diff)
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.
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
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,
+};