Commit 242a080c authored by Jerome Flesch's avatar Jerome Flesch

nsis: Generate installer for the 3 main branches

Signed-off-by: Jerome Flesch's avatarJerome Flesch <>
parent adfe4751
Pipeline #105417 canceled with stage
in 2 minutes and 7 seconds
all: paperwork_installer.exe
all: paperwork_stable_installer.exe paperwork_testing_installer.exe paperwork_develop_installer.exe
mkdir -p dll
......@@ -24,12 +24,30 @@ out.nsi:
echo Download URI: ${DOWNLOAD_URI}
python3 ./ ${RELEASE} ${DOWNLOAD_URI}
paperwork_installer.exe: dll/INetC.dll dll/nsisunz.dll out.nsi
paperwork_stable_installer.exe: dll/INetC.dll dll/nsisunz.dll
rm -f out.nsi
$(MAKE) out.nsi RELEASE=stable DOWNLOAD_URI=
makensis ./out.nsi
mv -f paperwork_installer.exe paperwork_stable_installer.exe
paperwork_testing_installer.exe: dll/INetC.dll dll/nsisunz.dll
rm -f out.nsi
$(MAKE) out.nsi RELEASE=testing DOWNLOAD_URI=
makensis ./out.nsi
mv -f paperwork_installer.exe paperwork_testing_installer.exe
paperwork_develop_installer.exe: dll/INetC.dll dll/nsisunz.dll
rm -f out.nsi
$(MAKE) out.nsi RELEASE=develop DOWNLOAD_URI=
makensis ./out.nsi
mv -f paperwork_installer.exe paperwork_develop_installer.exe
rm -rf dll
rm -f out.nsi
rm -f paperwork_installer.exe
rm -f paperwork_stable_installer.exe
rm -f paperwork_testing_installer.exe
rm -f paperwork_develop_installer.exe
.PHONY = all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment