blob: 72f8ab9f5e22955b16b9bd25ae311dc9fa6bb470 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
EXTRA_DIST = find_dlls.sh 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
|