bug 672320 pt 1 - include all available hyphenation patterns in the build. r=smontagu

This commit is contained in:
Jonathan Kew 2011-07-20 11:15:13 +01:00
parent 938babc448
commit 3decd04fb5
2 changed files with 2 additions and 5 deletions

View File

@ -214,7 +214,7 @@ nsHyphenationManager::LoadPatternListFromDir(nsIFile *aDir)
locale.Replace(i, 1, '-');
}
}
#ifdef DEBUG
#ifdef DEBUG_hyph
printf("adding hyphenation patterns for %s: %s\n", locale.get(),
NS_ConvertUTF16toUTF8(dictName).get());
#endif

View File

@ -47,10 +47,7 @@ DEFINES += -DAB_CD=$(AB_CD)
include $(topsrcdir)/config/rules.mk
PATTERN_FILES = $(strip $(wildcard $(LOCALE_SRCDIR)/hyphenation/*.dic))
ifneq ($(AB_CD),en-US)
PATTERN_FILES += $(strip $(wildcard $(srcdir)/en-US/hyphenation/*.dic))
endif
PATTERN_FILES = $(strip $(wildcard $(srcdir)/*/hyphenation/*.dic))
ifneq (,$(PATTERN_FILES))
libs::