httpdunit: simplify test case generation
Look, a legitimate use of cat!
@@ -455,12 +455,8 @@ $(testcase_STUBS): %.tests: %.c
$(top_srcdir)/build/httpdunit_gen_stubs.pl < "$<" > "$@"
test/httpdunit.cases: $(testcase_SOURCES) | unittest-objdir
- for t in $^; do \
- $(top_srcdir)/build/httpdunit_gen_cases.pl --declaration < "$$t"; \
- done > $@
- for t in $^; do \
- $(top_srcdir)/build/httpdunit_gen_cases.pl < "$$t"; \
- done >> $@
+ cat $^ | $(top_srcdir)/build/httpdunit_gen_cases.pl --declaration > $@
+ cat $^ | $(top_srcdir)/build/httpdunit_gen_cases.pl >> $@
test/httpdunit.lo: test/httpdunit.c test/httpdunit.cases | unittest-objdir
