Break build when ragel is needed and missing
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 12 Nov 2012 22:57:02 +0000 (14:57 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 12 Nov 2012 22:57:02 +0000 (14:57 -0800)
src/Makefile.am

index 9f7c7f8..372c10f 100644 (file)
@@ -242,7 +242,7 @@ arabic-table: gen-arabic-table.py ArabicShaping.txt UnicodeData.txt
 .PHONY: unicode-tables arabic-table indic-table
 
 EXTRA_DIST += hb-ot-shape-complex-indic-machine.rl
-hb-ot-shape-complex-indic-machine.hh: hb-ot-shape-complex-indic-machine.rl
+$(srcdir)/hb-ot-shape-complex-indic-machine.hh: hb-ot-shape-complex-indic-machine.rl
        $(AM_V_GEN)$(top_srcdir)/missing --run ragel -e -F1 -o "$@.tmp" "$<" && \
        mv "$@.tmp" "$@" || ( $(RM) "$@.tmp" && false )