1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-.
6 EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
7 noinst_SCRIPTS = $x-tests
10 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'
14 mk_script = $(srcdir)/../mk-script
15 $(srcdir)/$x-tests: $(mk_script) Test.pm
16 $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
20 MAINTAINERCLEANFILES = $x-tests $(maint_gen)
21 CLEANFILES = $(run_gen)
25 Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
27 sed -n '1,/^##test-files-begin/p' $< > $@t
28 tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
29 echo "x = $$tool" >> $@t
30 $(PERL) -I. -w -- $(mk_script) --list >> $@t
31 sed -n '/^##test-files-end/,$$p' $< >> $@t