From 4d59a42f3c977f6a30c75d210c5c135e26568035 Mon Sep 17 00:00:00 2001 From: kaa Date: Thu, 9 Nov 2023 23:03:26 -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. --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index f0c8c7d..e8157ba 100644 --- a/makefile +++ b/makefile @@ -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 -- cgit v1.2.3