diff options
author | kaa <kaa@disroot.org> | 2023-11-09 23:03:26 -0800 |
---|---|---|
committer | kaa <kaa@disroot.org> | 2023-11-09 23:03:26 -0800 |
commit | 4d59a42f3c977f6a30c75d210c5c135e26568035 (patch) | |
tree | 0f938f5c230b6250a141b7e0547f310d18dedbdf | |
parent | 3ff2e62722ff5a51a32961d97dc028c56e00481f (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.
-rw-r--r-- | makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,7 +16,9 @@ hyp: lib/libhyphen.a $(CC) $(CFLAGS) $(HYPFLAGS) $(LDFLAGS) -o $@ -DBUILD_PATH=\"$$(pwd)\" hyp.c lib/libhyphen.a clean: - rm -f hyp hyp-es && rm -rf lib include bin && cd ext/hyphen-2.8.8 && make clean + rm -f hyp hyp-es && rm -rf lib include bin share && cd ext/hyphen-2.8.8 && make clean +dist: clean + rm -rf ext/hyphen-2.8.8 install: all strip hyp cp hyp $(DEST)/hyp |