summaryrefslogtreecommitdiff
path: root/hyphen
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-15 08:31:08 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-15 08:31:08 +0000
commitb80be9c691077625d1dc36bb2b5e6901468a91cb (patch)
treed36e4e58b6e1947e7fce0683fdec43828451cfa7 /hyphen
parent194e0d5f04b88e60ac6442e4c24b89254918c706 (diff)
#i89468#
Diffstat (limited to 'hyphen')
-rw-r--r--hyphen/makefile.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/hyphen/makefile.mk b/hyphen/makefile.mk
index b722acc..70ef187 100644
--- a/hyphen/makefile.mk
+++ b/hyphen/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.5 $
+# $Revision: 1.6 $
#
# This file is part of OpenOffice.org.
#
@@ -50,10 +50,19 @@ PATCH_FILE_NAME=hyphen-2.3.patch
CONFIGURE_DIR=$(BUILD_DIR)
#relative to CONFIGURE_DIR
+# still needed also in system-hyphen case as it creates the makefile
CONFIGURE_ACTION=configure
CONFIGURE_FLAGS= --disable-shared --with-pic
+.IF "$(SYSTEM_HYPH)" == "YES" && "$(WITH_MYSPELL_DICTS)" == "YES"
+BUILD_ACTION=make hyph_en_US.dic
+.ELIF "$(SYSTEM_HYPH)" == "YES" && "$(WITH_MYSPELL_DICTS)" != "YES"
+@all:
+ echo "Nothing to do here."
+.ELSE
BUILD_ACTION=make
+OUT2INC += hyphen.h
+.ENDIF
.ENDIF # "$(GUI)"=="UNX"