summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-17 18:09:23 +0000
committertron <tron@openttd.org>2005-07-17 18:09:23 +0000
commitb9a6c16461a310ef1b6358a436a9f891b130d6b6 (patch)
tree36fb6d1e5dfd4e3866437bff13b22d1d2afbe833 /Makefile
parent71277a2283bf6a61633e4a91764d933204ecef97 (diff)
downloadopenttd-b9a6c16461a310ef1b6358a436a9f891b130d6b6.tar.xz
(svn r2616) Don't stop when compiling a language fails, just delete the defective .lng
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a17f357e..266b72f8c 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $<'