windows-install-nsis-20081226
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 27 Dec 2008 02:53:55 +0000 (02:53 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 27 Dec 2008 02:53:55 +0000 (02:53 +0000)
LICENSE MIT

permit the location of the NSIS application to be configurable

src/WINNT/install/NSIS/NTMakefile

index 8e1e113..b13ac7f 100644 (file)
@@ -3,7 +3,9 @@ RELDIR=WINNT\install\NSIS
 !INCLUDE ..\..\..\config\NTMakefile.version
 
 EXEDIR = $(DESTDIR)\WinInstall\Config
+!IFNDEF NSISDIR
 NSISDIR = C:\Program Files\NSIS
+!ENDIF
 
 # Revise the rule for compiling sources to use static libraries
 C2OBJ   = $(cc) /Fo$@ /Fd$*.pdb $(cflags) $(cdebug) $(cvars) $(afscflags) $(afscdefs) /c