aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c12d50b..12a75ed 100644
--- a/Makefile
+++ b/Makefile
@@ -86,13 +86,13 @@ UnicodeData.$(UNICODE_VERSION).txt:
$(DOWNLOAD) 'https://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt' > $@
Scripts.txt.c: Scripts.$(UNICODE_VERSION).txt Scripts.parse
- ./Scripts.parse < $(@:.txt.c=).$(UNICODE_VERSION).txt > $@
+ ./Scripts.parse < $(@:.txt.c=).$(UNICODE_VERSION).txt > $@ || (rm -f -- "$@"; ! :)
Blocks.txt.c: Blocks.$(UNICODE_VERSION).txt Blocks.parse
- ./Blocks.parse < $(@:.txt.c=).$(UNICODE_VERSION).txt > $@
+ ./Blocks.parse < $(@:.txt.c=).$(UNICODE_VERSION).txt > $@ || (rm -f -- "$@"; ! :)
UnicodeData.txt.c: UnicodeData.$(UNICODE_VERSION).txt UnicodeData.parse
- ./UnicodeData.parse < $(@:.txt.c=).$(UNICODE_VERSION).txt > $@
+ ./UnicodeData.parse < $(@:.txt.c=).$(UNICODE_VERSION).txt > $@ || (rm -f -- "$@"; ! :)
install: libcmap.a libcmap.$(LIBEXT)
mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"