(svn r2616) Don't stop when compiling a language fails, just delete the defective .lng

This commit is contained in:
tron 2005-07-17 18:09:23 +00:00
parent 463bf4641d
commit f3c14486be

View File

@ -846,7 +846,7 @@ table/strings.h: lang/english.txt $(STRGEN)
lang/%.lng: lang/%.txt $(STRGEN) lang/english.txt
@echo '===> Compiling language $(*F)'
$(Q)$(STRGEN) $(STRGEN_FLAGS) $< $(LANG_ERRORS)
$(Q)$(STRGEN) $(STRGEN_FLAGS) $< $(LANG_ERRORS) || rm -f $@
winres.o: openttd.rc
@echo '===> Compiling resource $<'