make missing xxd command fail the build correctly

This commit is contained in:
Vincent Sanders 2019-05-05 16:07:01 +01:00
parent 689458aa6e
commit e27df0c0b8

View File

@ -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