diff --git a/redpanda-win-git-askpass/redpanda-win-git-askpass.pro b/redpanda-win-git-askpass/redpanda-win-git-askpass.pro index 23880504..b7dd06ae 100644 --- a/redpanda-win-git-askpass/redpanda-win-git-askpass.pro +++ b/redpanda-win-git-askpass/redpanda-win-git-askpass.pro @@ -10,3 +10,13 @@ SOURCES += \ RC_FILE += \ redpanda-git-askpass_private.rc resource.rc + +isEmpty(PREFIX) { + PREFIX = /usr/local +} + +win32: { + !isEmpty(PREFIX) { + target.path = $${PREFIX} + } +} diff --git a/windows/installer-scripts/redpanda-i686-nocompiler.nsi b/windows/installer-scripts/redpanda-i686-nocompiler.nsi index 272564ed..b6a5d026 100644 --- a/windows/installer-scripts/redpanda-i686-nocompiler.nsi +++ b/windows/installer-scripts/redpanda-i686-nocompiler.nsi @@ -87,6 +87,7 @@ Section "$(SectionMainName)" SectionMain ; Write required files File "RedPandaIDE.exe" File "ConsolePauser.exe" + File "redpanda-win-git-askpass.exe" File "astyle.exe" File "LICENSE" File "NEWS.md" @@ -450,6 +451,7 @@ Section "Uninstall" Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\ConsolePauser.exe" + Delete "$INSTDIR\redpanda-win-git-askpass.exe" Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\README.md" diff --git a/windows/installer-scripts/redpanda-i686.nsi b/windows/installer-scripts/redpanda-i686.nsi index 7217a43e..0a1904a3 100644 --- a/windows/installer-scripts/redpanda-i686.nsi +++ b/windows/installer-scripts/redpanda-i686.nsi @@ -88,6 +88,7 @@ Section "$(SectionMainName)" SectionMain ; Write required files File "RedPandaIDE.exe" File "ConsolePauser.exe" + File "redpanda-win-git-askpass.exe" File "astyle.exe" File "LICENSE" File "NEWS.md" @@ -457,6 +458,7 @@ Section "Uninstall" Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\ConsolePauser.exe" + Delete "$INSTDIR\redpanda-win-git-askpass.exe" Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\README.md" diff --git a/windows/installer-scripts/redpanda-nocompiler.nsi b/windows/installer-scripts/redpanda-nocompiler.nsi index 1ab78745..453c8c8c 100644 --- a/windows/installer-scripts/redpanda-nocompiler.nsi +++ b/windows/installer-scripts/redpanda-nocompiler.nsi @@ -87,6 +87,7 @@ Section "$(SectionMainName)" SectionMain ; Write required files File "RedPandaIDE.exe" File "ConsolePauser.exe" + File "redpanda-win-git-askpass.exe" File "astyle.exe" File "LICENSE" File "NEWS.md" @@ -450,6 +451,7 @@ Section "Uninstall" Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\ConsolePauser.exe" + Delete "$INSTDIR\redpanda-win-git-askpass.exe" Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\README.md" diff --git a/windows/installer-scripts/redpanda-x64.nsi b/windows/installer-scripts/redpanda-x64.nsi index 6fde0fe8..0aa9a01f 100644 --- a/windows/installer-scripts/redpanda-x64.nsi +++ b/windows/installer-scripts/redpanda-x64.nsi @@ -88,6 +88,7 @@ Section "$(SectionMainName)" SectionMain ; Write required files File "RedPandaIDE.exe" File "ConsolePauser.exe" + File "redpanda-win-git-askpass.exe" File "astyle.exe" File "LICENSE" File "NEWS.md" @@ -459,6 +460,7 @@ Section "Uninstall" Delete "$INSTDIR\NEWS.md" Delete "$INSTDIR\RedPandaIDE.exe" Delete "$INSTDIR\ConsolePauser.exe" + Delete "$INSTDIR\redpanda-win-git-askpass.exe" Delete "$INSTDIR\astyle.exe" Delete "$INSTDIR\LICENSE" Delete "$INSTDIR\README.md"