From e27df0c0b8081f06fec44562b87b35dc0ad434a3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 5 May 2019 16:07:01 +0100 Subject: make missing xxd command fail the build correctly --- content/handlers/javascript/duktape/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content') diff --git a/content/handlers/javascript/duktape/Makefile b/content/handlers/javascript/duktape/Makefile index c9e9947dd..465318002 100644 --- a/content/handlers/javascript/duktape/Makefile +++ b/content/handlers/javascript/duktape/Makefile @@ -12,7 +12,8 @@ BINDINGS := $(wildcard content/handlers/javascript/duktape/*.bnd) $(OBJROOT)/duktape/generics.js.inc: content/handlers/javascript/duktape/generics.js $(Q)$(MKDIR) -p $(OBJROOT)/duktape $(VQ)echo " XXD: $<" - $(Q)xxd -i $< | sed -e 's/content_handlers_javascript_duktape_generics_js/generics_js/' > $@ + $(Q)xxd -i $< $@.tmp + $(Q)sed -e 's/content_handlers_javascript_duktape_generics_js/generics_js/' $@.tmp > $@ # ensure genbind generates debugging files GBFLAGS+=-D -- cgit v1.2.3