AUTOMAKE_OPTIONS = 1.9 foreign man_MANS = ezstream.1 ezstream-file.sh.1 do_subst = sed \ -e 's|!!EXAMPLES_DIR!!|@EXAMPLES_DIR@|g' .PHONY: $(man_MANS) ezstream.1: ezstream.1.in Makefile $(do_subst) < $(builddir)/ezstream.1.in > ezstream.1 ezstream-file.sh.1: ezstream-file.sh.1.in Makefile $(do_subst) < $(builddir)/ezstream-file.sh.1.in > ezstream-file.sh.1 CLEANFILES = *~ *.core core $(man_MANS)