From bb49765c205f9c383efd147d20a977b6982d5b4d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 22 Jun 2012 19:48:46 -0700 Subject: libsandbox: regenerate trace headers when autotools change If you re-run configure with different settings, the trace headers might be out of date. Have the generated headers depend on the Makefile so that when this situation does come up, we force sanity. This step is fairly quick, so shouldn't be a big deal. Signed-off-by: Mike Frysinger --- libsandbox/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am index b25e4b3..dc45618 100644 --- a/libsandbox/Makefile.am +++ b/libsandbox/Makefile.am @@ -70,7 +70,7 @@ TRACE_MAKE_HEADER = \ $(SB_AWK) $(GEN_TRACE_SCRIPT) -v MODE=gen | \ $(COMPILE) -E -include $(top_srcdir)/headers.h - $$f | \ $(SB_AWK) $(GEN_TRACE_SCRIPT) -v syscall_prefix=$$t > $$header -trace_syscalls.h: $(GEN_TRACE_SCRIPT) +trace_syscalls.h: $(GEN_TRACE_SCRIPT) Makefile if SB_SCHIZO $(AM_V_GEN)for pers in $(SB_SCHIZO_SETTINGS) ; do \ t=_$${pers%:*}; \ -- cgit v1.2.3-65-gdbad