# ************************************************************************* # # This makefile builds the nsis MSOffice installer for Windows # # ************************************************************************* # # Needed to get the correct hyphenation pattern file: LANG := $(shell pwd | rev | cut -d '/' -f1 | rev) # Language-specific paths: SHAREDLIB = $(TOOLLIBS)/shared/$(LANG) RESOURCES = $(TOOLLIBS)/win/MSOffice/$(LANG) ################################################## #***** start of language-specific variables: ***** WINSPELL = mssp3samiLule.lex HYPHPATTERNS = SamiLule_hy-pat.lex SPELLIB = mssp3samiLule-SE.dll HYPHLIB = mshy3samiLule-SE.dll # NSIS installer filenames: NSISSPELLEX = mssp3samiLule.lex NSISHYPHLEX = mshy3samiLule-dic.lex NSISHYPATTERN = mshy3samiLule.lex #****** end of language-specific variables: ****** ################################################## all: lex lib lex: @echo "*** Copying lexicon files ***" $(CP) $(DOWNLOADDIR)/$(WINSPELL) $(COMPONENTDIR)/$(NSISSPELLEX) $(CP) $(DOWNLOADDIR)/$(WINSPELL) $(COMPONENTDIR)/$(NSISHYPHLEX) $(CP) $(SHAREDLIB)/hyph/$(HYPHPATTERNS) $(COMPONENTDIR)/$(NSISHYPATTERN) lib: @echo "*** Copying library files ***" $(CP) $(RESOURCES)/spell/$(SPELLIB) $(COMPONENTDIR)/ $(CP) $(RESOURCES)/hyph/$(HYPHLIB) $(COMPONENTDIR)/