summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 18:21:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 18:21:25 +0000
commit39f979dbef20f0ac311624cb115bd29bc38acec2 (patch)
tree0a019131660adca229f5c9a80e3ca6fd8d0e5918 /win
parent0b669431ec01968eb939ad4c54425d100856ddfb (diff)
Add BUILD define which tells the install script what to build
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7111 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win')
-rw-r--r--win/inspircd.nsi16
1 files changed, 11 insertions, 5 deletions
diff --git a/win/inspircd.nsi b/win/inspircd.nsi
index 25b97cd92..40c15053d 100644
--- a/win/inspircd.nsi
+++ b/win/inspircd.nsi
@@ -1,4 +1,10 @@
-; Script generated by the HM NIS Edit Script Wizard.
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+ ;;;; SET THE BUILD TO BE PACKAGED HERE ;;;;
+
+!define BUILD "release"
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "InspIRCd"
@@ -118,12 +124,12 @@ Section "Binary Executable" SEC01
Call IsDotNetInstalled
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
- File "..\bin\debug\InspGUI.exe"
+ File "..\bin\${BUILD}\InspGUI.exe"
CreateDirectory "$SMPROGRAMS\InspIRCd"
CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe"
SetOutPath "$INSTDIR\bin"
SetOverwrite ifnewer
- File "..\bin\debug\bin\inspircd.exe"
+ File "..\bin\${BUILD}\bin\inspircd.exe"
SectionEnd
Section "Config Files" SEC02
@@ -140,12 +146,12 @@ SectionEnd
Section "Command Handlers" SEC03
SetOutPath "$INSTDIR\lib"
- File "..\bin\debug\lib\cmd_*.so"
+ File "..\bin\${BUILD}\lib\cmd_*.so"
SectionEnd
Section "Modules" SEC04
SetOutPath "$INSTDIR\modules"
- File "..\bin\debug\modules\*.so"
+ File "..\bin\${BUILD}\modules\*.so"
SectionEnd
Section -AdditionalIcons