summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2023-11-09 23:03:26 -0800
committerkaa <kaa@disroot.org>2023-11-09 23:03:26 -0800
commit4d59a42f3c977f6a30c75d210c5c135e26568035 (patch)
tree0f938f5c230b6250a141b7e0547f310d18dedbdf /makefile
parent3ff2e62722ff5a51a32961d97dc028c56e00481f (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 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
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