summaryrefslogtreecommitdiff
path: root/nsis
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-05-09 11:49:38 -0400
committerLouie S <louie@example.com>2024-05-09 11:49:38 -0400
commita42828ac5ecf3924891fdbc9b9a1d53bb7f1249c (patch)
tree59f1c15899f187cc7dfc1c1a128a8b3316e677c5 /nsis
parentdbcb9aa93028db869f46fe1ce3639840a4e8f07b (diff)
Incorporate installer creation in build system
Diffstat (limited to 'nsis')
-rw-r--r--nsis/Makefile.am5
-rw-r--r--nsis/Makefile.in5
-rw-r--r--nsis/installer.nsi.in1
3 files changed, 11 insertions, 0 deletions
diff --git a/nsis/Makefile.am b/nsis/Makefile.am
index b05f308..c16bc2c 100644
--- a/nsis/Makefile.am
+++ b/nsis/Makefile.am
@@ -1,3 +1,8 @@
EXTRA_DIST = installer.nsi.in
CLEANFILES = $(PACKAGE_NAME)-Setup.exe
+
+.PHONY: installer
+$(PACKAGE_NAME)-Setup.exe: installer.nsi
+ makensis installer.nsi
+installer: $(PACKAGE_NAME)-Setup.exe
diff --git a/nsis/Makefile.in b/nsis/Makefile.in
index cfd6dd8..76207d2 100644
--- a/nsis/Makefile.in
+++ b/nsis/Makefile.in
@@ -413,6 +413,11 @@ uninstall-am:
.PRECIOUS: Makefile
+.PHONY: installer
+$(PACKAGE_NAME)-Setup.exe: installer.nsi
+ makensis installer.nsi
+installer: $(PACKAGE_NAME)-Setup.exe
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff --git a/nsis/installer.nsi.in b/nsis/installer.nsi.in
index b53f4cb..f055455 100644
--- a/nsis/installer.nsi.in
+++ b/nsis/installer.nsi.in
@@ -63,6 +63,7 @@ VIAddVersionKey "FileVersion" "${SETUP_VERSION}"
Section "My Application" MyApp
SetOutPath $INSTDIR
File "..\src\@PACKAGE_NAME@.exe"
+ ;@DLL_DEPENDENCIES@
;File "Readme.txt"
WriteUninstaller "$INSTDIR\Uninstall.exe"
SectionEnd