blob: 3f47a9f7c84b0a1d363cfa1e837d2a8d6bf79a2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
EXTRA_DIST = installer.nsi.in
CLEANFILES = $(PACKAGE_NAME)-Setup.exe deps/*
SEARCHPATH=$$PATH
DEPENDENCIES = $(shell ./find_dlls.sh -q -s $(SEARCHPATH) '../src/$(PACKAGE_NAME).exe')
.PHONY: installer
installer: $(PACKAGE_NAME)-Setup.exe
$(PACKAGE_NAME)-Setup.exe: installer.nsi
mkdir -p deps
for file in $(DEPENDENCIES); do install "$$file" "deps/$$(basename "$$file")"; done
makensis installer.nsi
|