# ************************************************************************* # # This makefile copies missing NSIS files needed for Sámi localisation # # support and some functionality to check whether Office is running. # # ************************************************************************* # CP = cp -rf # This is the standard location using MacPorts on MacOS X. Location on other # systems will vary, this needs to be checked, and the variable set accordingly: NSIS_HOME = /opt/local/share/nsis NSIS_PLUGINS = $(NSIS_HOME)/Plugins/ NSIS_LOCALES = $(NSIS_HOME)/Contrib/Language\ files/ # Files: LIBRARYFILES = $(wildcard *.dll) LIBINSTFILES = $(addprefix $(NSIS_PLUGINS), $(LIBRARYFILES)) LOCALEFILES = $(wildcard *.nlf) $(wildcard *.nsh) LOCINSTFILES = $(addprefix $(NSIS_LOCALES), $(LOCALEFILES)) all: libs localisations libs: $(LIBINSTFILES) $(LIBINSTFILES): $(LIBRARYFILES) $(CP) "$<" "$@" localisations: $(LOCINSTFILES) $(LOCINSTFILES): $(LOCALEFILES) $(CP) "$<" "$@" clean: