From edab5aee6375131a129b338b8ccac10785c8ae70 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 27 Dec 2013 20:12:23 +0100 Subject: [PATCH] Make building of Windows .hlp file optional By using && and || operators in the build recipe, the building of WinBoard with Cygwin is now not aborted whe the Help Compiler is not installed. --- winboard/makefile.gcc | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/winboard/makefile.gcc b/winboard/makefile.gcc index fcf842f..77fc0b9 100644 --- a/winboard/makefile.gcc +++ b/winboard/makefile.gcc @@ -63,10 +63,7 @@ clean: # Update the help file if necessary $(PROJ).hlp : $(PROJ).rtf - $(HC) $(PROJ).hpj - @cat $(PROJ).err - @mv $(PROJ).hlp tmp.hlp - @mv tmp.hlp $(PROJ).hlp # these moves to get the case right + $(HC) $(PROJ).hpj && @cat $(PROJ).err && @mv $(PROJ).hlp tmp.hlp && @mv tmp.hlp $(PROJ).hlp || true # these moves to get the case right # Update the resource if necessary -- 1.7.0.4