# ******************************************************************** # # This makefile builds one lang's components for Adobe InDesign CS5.5 # # ******************************************************************** # # Needed to get the correct proofing tools files: LANG := $(shell pwd | rev | cut -d '/' -f1 | rev) DICTSDIR = SharedSupport/Dictionaries/$(LANG) .PHONY: all dirs lex all: dirs lex dirs: @echo "*** Setting up dirs ***" $(MKDIR) $(COMPONENTDIR)/$(DICTSDIR) lex: @echo "*** Copying lexicon files ***" $(CP) $(DOWNLOADDIR)/$(LANG).aff $(COMPONENTDIR)/$(DICTSDIR)/ $(CP) $(DOWNLOADDIR)/$(LANG).dic $(COMPONENTDIR)/$(DICTSDIR)/ $(CP) $(DOWNLOADDIR)/hyph_$(LANG).dic $(COMPONENTDIR)/$(DICTSDIR)/