-contrib/mom/examples/tests-mom.sh: $(top_builddir)/config.status \
- $(MOMPROCESSEDEXAMPLEFILES) $(top_srcdir)/contrib/mom/examples/test-mom.sh.in
- sed -e "s|[@]abs_top_builddir[@]|$(abs_top_builddir)|g" \
- -e "s|[@]groff_have_urw_fonts[@]|$(groff_have_urw_fonts)|g" \
- $(top_srcdir)/contrib/mom/examples/test-mom.sh.in > $@
- chmod +x $@
+contrib/mom/examples/tests-mom.sh: \
+ $(top_builddir)/config.status \
+ $(MOMPROCESSEDEXAMPLEFILES) \
+ $(top_srcdir)/$(mom_test_template)
+ $(AM_V_GEN)sed \
+ -e "s|[@]abs_top_builddir[@]|$(abs_top_builddir)|g" \
+ -e "s|[@]groff_have_urw_fonts[@]|$(groff_have_urw_fonts)|g" \
+ $(top_srcdir)/$(mom_test_template) > $@ \
+ && chmod +x $@