diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/nsis/Makefile.nmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/nsis/Makefile.nmake b/packaging/nsis/Makefile.nmake index 25b58251c5..e7c19f1518 100644 --- a/packaging/nsis/Makefile.nmake +++ b/packaging/nsis/Makefile.nmake @@ -74,7 +74,14 @@ NSI=wireshark.nsi \ DELIVERABLES=$(EXE) $(DLL) $(DOC) $(DOC_dos) $(GPL) $(HELP) $(PLUGINS) +!IFDEF MAKENSIS all: NEWS.txt wireshark-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe +!ELSE +all: _FORCE_ + @echo ? NSIS not available (MAKENSIS not defined in config.nmake) + @echo. + @exit 1 +!ENDIF NEWS.txt: ../../NEWS $(UNIX2DOS) < ../../NEWS > NEWS.txt @@ -185,3 +192,7 @@ $(EXE) $(DLL): cd ../.. $(MAKE) /$(MAKEFLAGS) -f makefile.nmake cd packaging/nsis + +#### +_FORCE_: ## Assumption: no file named _FORCE_ exists in the current directory + |