From: H.G. Muller Date: Fri, 27 Dec 2013 19:12:23 +0000 (+0100) Subject: Make building of Windows .hlp file optional X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=4fd400aa2e254f5a02aef3ef983e4b6040d60d58 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. --- 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