This commit is contained in:
Bert Frees 2016-05-29 07:30:56 +00:00
commit 7e3afb94d8
4 changed files with 17 additions and 1 deletions

2
.gitignore vendored
View File

@ -15,6 +15,7 @@
/doc/Makefile
/doc/Makefile.in
/example
/example.exe
/example.o
/hnjalloc.lo
/hnjalloc.o
@ -30,6 +31,7 @@
/ltmain.sh
/missing
/substrings
/substrings.exe
/substrings.o
/test-driver
/tests/*.log

View File

@ -2,7 +2,7 @@ SUBDIRS= doc tests
lib_LTLIBRARIES = libhyphen.la
libhyphen_la_SOURCES = hnjalloc.c hyphen.c
libhyphen_la_LDFLAGS = -version-info 3:0:3
libhyphen_la_LDFLAGS = -version-info 3:0:3 -no-undefined
include_HEADERS = hyphen.h
noinst_HEADERS = hnjalloc.h

7
README
View File

@ -71,6 +71,13 @@ to lowercase before hyphenation (under UTF-8 console environment):
cat mywords.txt | awk '{print tolower($0)}' >mywordslow.txt
BUILD DLL USING CROSS-COMPILATION
./configure --host i586-mingw32 --prefix=/tmp/hyphen-dll
make
make check
make install
DEVELOPMENT
See README.hyphen for hyphenation algorithm, README.nonstandard

View File

@ -134,3 +134,10 @@ num.hyph \
num.pat \
num.test \
num.word
check-am: ../example
../example : ../example.exe
echo '#! /bin/sh' > $@
echo '# Wrapper for example.exe' >> $@
echo 'wine `dirname "$$0"`/example.exe "$$@" |dos2unix' >> $@
chmod +x $@